Function at 0x413980
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x44401c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x68
mov eax, dword [0x45e054]
push esi
mov esi, ecx
mov dword [esp + 8], 0
test al, 1
jne 0x4139db
or eax, 1
mov dword [0x45e054], eax
mov dword [esp + 0x74], 0
call fcn.004142e0
push 0x4480d0
call fcn.0042d451
mov dword [esp + 0x78], 0xffffffff
mov eax, dword [0x45e054]
add esp, 4
test al, 2
jne 0x413a09
or eax, 2
mov dword [0x45e054], eax
mov dword [esp + 0x74], 1
call fcn.00414b50
push 0x448060
call fcn.0042d451
add esp, 4
mov dword [esp + 0x74], 0xffffffff
push 0
push 0
push 0
push 0
push 0
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x38], esp
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push 0x44d470
mov byte [ecx], 0
call fcn.00403890
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0xb8], 2
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push 0x44d470
mov byte [ecx], 0
call fcn.00403890
lea ecx, [esp + 0x64]
mov dword [esp + 0xb8], 0xffffffff
call fcn.00414160
mov dword [esp + 0x74], 3
cmp dword [0x45c95c], 1
jne 0x413b37
lea eax, [esp + 0x20]
push eax
movzx eax, word [esi + 4]
push eax
mov ecx, 0x45e058
call fcn.00413c60
test al, al
je 0x413b37
mov esi, dword [esp + 0x7c]
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x28]
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
push eax
mov ecx, esi
mov byte [esi], 0
call fcn.00403f00
lea ecx, [esi + 0x18]
push 0xffffffffffffffff
mov byte [esp + 0x78], 4
push 0
lea eax, [esp + 0x40]
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.00403f00
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x50]
mov dword [esi + 0x34], ecx
mov ecx, dword [esp + 0x58]
mov dword [esi + 0x38], ecx
mov ecx, dword [esp + 0x5c]
mov dword [esi + 0x3c], ecx
mov ecx, dword [esp + 0x60]
mov dword [esi + 0x40], ecx
lea ecx, [esp + 0x20]
mov dword [esi + 0x30], eax
call fcn.00406f80
mov eax, esi
mov ecx, dword [esp + 0x6c]
mov dword fs:[0], ecx
pop esi
add esp, 0x74
ret 4
lea eax, [esp + 0x20]
push eax
movzx eax, word [esi + 4]
push eax
mov ecx, 0x45e060
call fcn.00413c60
test al, al
jne 0x413b74
push str.Error:_Attempt_to_obtain_attributes_of_unknown_opcode_n
call fcn.0042d47b
add esp, 4
lea ecx, [esp + 0x14]
call fcn.0042cbca
push 0x455e70
lea eax, [esp + 0x18]
push eax
call fcn.0042f49a
mov esi, dword [esp + 0x7c]
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x28]
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
push eax
mov ecx, esi
mov byte [esi], 0
call fcn.00403f00
lea ecx, [esi + 0x18]
push 0xffffffffffffffff
mov byte [esp + 0x78], 5
push 0
lea eax, [esp + 0x40]
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.00403f00
cmp dword [esp + 0x4c], 0x10
mov eax, dword [esp + 0x50]
mov dword [esi + 0x30], eax
mov eax, dword [esp + 0x54]
mov dword [esi + 0x34], eax
mov eax, dword [esp + 0x58]
mov dword [esi + 0x38], eax
mov eax, dword [esp + 0x5c]
mov dword [esi + 0x3c], eax
mov eax, dword [esp + 0x60]
mov dword [esi + 0x40], eax
jb 0x413bf6
push dword [esp + 0x38]
call fcn.0042d556
add esp, 4
cmp dword [esp + 0x34], 0x10
mov dword [esp + 0x4c], 0xf
mov dword [esp + 0x48], 0
mov byte [esp + 0x38], 0
jb 0x413c1e
push dword [esp + 0x20]
call fcn.0042d556
add esp, 4
mov ecx, dword [esp + 0x6c]
mov eax, esi
mov dword fs:[0], ecx
pop esi
add esp, 0x74
ret 4