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

Disassembly:
push 0xffffffffffffffff
push 0x4f398c
mov eax, dword fs:[0]
push eax
sub esp, 0x70
push ebx
push ebp
push esi
push edi
mov eax, dword [0x64222c]
xor eax, esp
push eax
lea eax, [esp + 0x84]
mov dword fs:[0], eax
mov esi, dword [esp + 0x94]
mov ecx, esi
call fcn.004277e0
lea ecx, [esp + 0x6c]
call fcn.00416eb0
lea eax, [esp + 0x6c]
push eax
xor edi, edi
push esi
mov dword [esp + 0x94], edi
call fcn.0041a850
mov ecx, dword [esp + 0x84]
mov eax, dword [esp + 0x80]
sub ecx, eax
add esp, 8
test ecx, 0xfffffffc
je 0x4281a1
mov eax, dword [esp + 0x94]
push 0
push 0
lea edx, [esp + 0x74]
push edx
push eax
call fcn.0040e650
mov edi, eax
add esp, 0x10
cmp dword [edi + 0x14], 0
jne 0x42816e
mov eax, dword [edi + 8]
cmp eax, 0x17
jne 0x427b55
lea ecx, [edi + 0x1c]
push ecx
lea edx, [esp + 0x1c]
push edx
call fcn.00429550
add esp, 8
mov byte [esp + 0x8c], 1
call fcn.004a3062
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x4281e9
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x18]
mov byte [esp + 0x90], 2
call fcn.00401d80
lea ecx, [esp + 0x14]
call fcn.0040cde0
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x48]
push eax
mov ecx, 0x64420c
call fcn.0040ea60
mov esi, dword [esp + 0x44]
mov ebx, dword [0x644224]
test esi, esi
je 0x427a1b
cmp esi, dword [0x64420c]
je 0x427a20
call fcn.004bb632
mov ebp, dword [esp + 0x48]
cmp ebp, ebx
je 0x427a9e
test esi, esi
jne 0x427a9a
call fcn.004bb632
cmp ebp, dword [esi + 0x18]
jne 0x427a3b
call fcn.004bb632
mov ecx, dword [ebp + 0x10]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov dword [edi + 0x40], ecx
mov byte [esp + 0x8c], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x427a69
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x8c], 0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42816e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x42816e
mov esi, dword [esi]
jmp 0x427a31
push 0x48
call fcn.0049b694
add esp, 4
mov dword [esp + 0x38], eax
xor ebx, ebx
mov byte [esp + 0x8c], 3
cmp eax, ebx
je 0x427ac5
mov ecx, eax
call fcn.0041a020
mov esi, eax
jmp 0x427ac7
xor esi, esi
lea ecx, [esp + 0x14]
push ecx
mov ecx, 0x64420c
mov byte [esp + 0x90], 2
mov dword [esp + 0x30], esi
call fcn.00419670
lea edx, [esp + 0x2c]
mov dword [eax], esi
push edx
mov ecx, 0x64422c
mov dword [edi + 0x40], esi
call fcn.00419940
lea ecx, [esp + 0x18]
push ecx
mov ecx, eax
call fcn.00401d80
mov edx, dword [esp + 0x98]
mov eax, dword [esp + 0x18]
push edx
push esi
push esi
push eax
call fcn.00425390
add esp, 0x10
test eax, eax
mov eax, dword [esp + 0x14]
mov byte [esp + 0x8c], 1
je 0x4281f3
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x427b49
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x8c], bl
jmp 0x427a71
cmp eax, 0x36
jne 0x427ce9
lea ecx, [edi + 0x24]
push ecx
lea edx, [esp + 0x20]
push edx
call fcn.00429550
add esp, 8
mov byte [esp + 0x8c], 4
call fcn.004a3062
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x4281e9
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x18]
mov byte [esp + 0x90], 5
call fcn.00401d80
lea ecx, [esp + 0x14]
call fcn.0040cde0
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x50]
push eax
mov ecx, 0x64420c
call fcn.0040ea60
mov esi, dword [esp + 0x4c]
mov ebx, dword [0x644224]
test esi, esi
je 0x427be4
cmp esi, dword [0x64420c]
je 0x427be9
call fcn.004bb632
mov ebp, dword [esp + 0x50]
cmp ebp, ebx
je 0x427c47
test esi, esi
jne 0x427c43
call fcn.004bb632
cmp ebp, dword [esi + 0x18]
jne 0x427c04
call fcn.004bb632
mov ecx, dword [ebp + 0x10]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov dword [edi + 0x28], ecx
mov byte [esp + 0x8c], 4
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x427c32
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x8c], 0
jmp 0x427a75
mov esi, dword [esi]
jmp 0x427bfa
push 0x48
call fcn.0049b694
add esp, 4
mov dword [esp + 0x38], eax
mov byte [esp + 0x8c], 6
test eax, eax
je 0x427c6c
mov ecx, eax
call fcn.0041a020
mov esi, eax
jmp 0x427c6e
xor esi, esi
lea ecx, [esp + 0x14]
push ecx
mov ecx, 0x64420c
mov byte [esp + 0x90], 5
mov dword [esp + 0x30], esi
call fcn.00419670
lea edx, [esp + 0x2c]
mov dword [eax], esi
push edx
mov ecx, 0x64422c
mov dword [edi + 0x28], esi
call fcn.00419940
lea ecx, [esp + 0x1c]
push ecx
mov ecx, eax
call fcn.00401d80
mov edx, dword [esp + 0x98]
mov eax, dword [esp + 0x1c]
push edx
push esi
push esi
push eax
call fcn.00425390
add esp, 0x10
test eax, eax
mov eax, dword [esp + 0x14]
mov byte [esp + 0x8c], 4
je 0x42827f
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x427c26
cmp eax, 0x37
jne 0x427e7d
lea ecx, [edi + 0x24]
push ecx
lea edx, [esp + 0x24]
push edx
call fcn.00429550
add esp, 8
mov byte [esp + 0x8c], 7
call fcn.004a3062
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x4281e9
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x18]
mov byte [esp + 0x90], 8
call fcn.00401d80
lea ecx, [esp + 0x14]
call fcn.0040cde0
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x58]
push eax
mov ecx, 0x64420c
call fcn.0040ea60
mov esi, dword [esp + 0x54]
mov ebx, dword [0x644224]
test esi, esi
je 0x427d78
cmp esi, dword [0x64420c]
je 0x427d7d
call fcn.004bb632
mov ebp, dword [esp + 0x58]
cmp ebp, ebx
je 0x427ddb
test esi, esi
jne 0x427dd7
call fcn.004bb632
cmp ebp, dword [esi + 0x18]
jne 0x427d98
call fcn.004bb632
mov ecx, dword [ebp + 0x10]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov dword [edi + 0x28], ecx
mov byte [esp + 0x8c], 7
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x427dc6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x20]
mov byte [esp + 0x8c], 0
jmp 0x427a75
mov esi, dword [esi]
jmp 0x427d8e
push 0x48
call fcn.0049b694
add esp, 4
mov dword [esp + 0x38], eax
mov byte [esp + 0x8c], 9
test eax, eax
je 0x427e00
mov ecx, eax
call fcn.0041a020
mov esi, eax
jmp 0x427e02
xor esi, esi
lea ecx, [esp + 0x14]
push ecx
mov ecx, 0x64420c
mov byte [esp + 0x90], 8
mov dword [esp + 0x30], esi
call fcn.00419670
lea edx, [esp + 0x2c]
mov dword [eax], esi
push edx
mov ecx, 0x64422c
mov dword [edi + 0x28], esi
call fcn.00419940
lea ecx, [esp + 0x20]
push ecx
mov ecx, eax
call fcn.00401d80
mov edx, dword [esp + 0x98]
mov eax, dword [esp + 0x20]
push edx
push esi
push esi
push eax
call fcn.00425390
add esp, 0x10
or edx, 0xffffffff
test eax, eax
mov eax, dword [esp + 0x14]
mov byte [esp + 0x8c], 7
je 0x4282e5
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x427dba
cmp eax, 0x2e
jne 0x427f55
mov ecx, dword [esp + 0x94]
cmp dword [ecx + 0x20], 0x644918
je 0x42816e
mov esi, ecx
call fcn.0041f960
mov edx, dword [edi + 0x1c]
mov eax, dword [edx]
mov esi, dword [esi + 0x20]
add edi, 0x1c
mov ecx, edi
call eax
mov ebp, eax
push ebp
lea ecx, [esp + 0x34]
call fcn.00414a80
mov ecx, dword [esi + 0x18]
mov edx, dword [esi]
mov dword [esp + 0x60], ecx
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x34]
mov dword [esp + 0x60], edx
push ecx
lea edx, [esp + 0x6c]
push edx
mov ecx, esi
mov byte [esp + 0x98], 0xa
call fcn.0040ea60
mov ecx, eax
call fcn.00470630
mov bl, al
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
mov byte [esp + 0x8c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x427f18
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
jne 0x428348
push ebp
lea ecx, [esp + 0x38]
call fcn.00414a80
lea ecx, [esp + 0x34]
push ecx
mov ecx, esi
mov byte [esp + 0x90], 0xc
call fcn.00419670
lea ecx, [esp + 0x34]
mov dword [eax], edi
mov byte [esp + 0x8c], bl
call fcn.0040b800
jmp 0x42816e
cmp eax, 0x1f
jne 0x42816e
xor eax, eax
mov dword [edi + 0x34], eax
mov ecx, dword [edi + 0x2c]
sub ecx, dword [edi + 0x28]
mov dword [esp + 0x28], eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x42816e
mov dword [esp + 0x2c], 0
mov ecx, dword [edi + 0x2c]
sub ecx, dword [edi + 0x28]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp dword [esp + 0x28], ecx
jb 0x427fac
call fcn.004bb632
mov ebp, dword [edi + 0x28]
add ebp, dword [esp + 0x2c]
lea eax, [esp + 0x24]
mov edx, dword [ebp + 4]
add dword [edi + 0x34], edx
push ebp
push eax
call fcn.00429550
add esp, 8
mov byte [esp + 0x8c], 0xd
call fcn.004a3062
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x4281e9
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x18]
mov byte [esp + 0x90], 0xe
call fcn.00401d80
lea ecx, [esp + 0x14]
call fcn.0040cde0
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x40]
push eax
mov ecx, 0x64420c
call fcn.0040ea60
mov esi, dword [esp + 0x3c]
mov ebx, dword [0x644224]
test esi, esi
je 0x42803c
cmp esi, dword [0x64420c]
je 0x428041
call fcn.004bb632
cmp dword [esp + 0x40], ebx
je 0x428071
test esi, esi
jne 0x42806d
call fcn.004bb632
mov ecx, dword [esp + 0x40]
cmp ecx, dword [esi + 0x18]
jne 0x42805e
call fcn.004bb632
mov edx, dword [esp + 0x40]
mov eax, dword [edx + 0x10]
mov dword [ebp + 8], eax
jmp 0x4280f2
mov esi, dword [esi]
jmp 0x428050
push 0x48
call fcn.0049b694
add esp, 4
mov dword [esp + 0x38], eax
mov byte [esp + 0x8c], 0xf
test eax, eax
je 0x428096
mov ecx, eax
call fcn.0041a020
mov esi, eax
jmp 0x428098
xor esi, esi
lea ecx, [esp + 0x14]
push ecx
mov ecx, 0x64420c
mov byte [esp + 0x90], 0xe
mov dword [esp + 0x3c], esi
call fcn.00419670
lea edx, [esp + 0x38]
mov dword [eax], esi
push edx
mov ecx, 0x64422c
mov dword [ebp + 8], esi
call fcn.00419940
lea ecx, [esp + 0x24]
push ecx
mov ecx, eax
call fcn.00401d80
mov edx, dword [esp + 0x98]
mov eax, dword [esp + 0x24]
push edx
push esi
push esi
push eax
call fcn.00425390
add esp, 0x10
test eax, eax
je 0x4283a5
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [esp + 0x8c], 0xd
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42811a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [esp + 0x8c], 0
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x428142
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [edi + 0x2c]
sub ecx, dword [edi + 0x28]
mov esi, dword [esp + 0x28]
add dword [esp + 0x2c], 0xc
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
inc esi
add ecx, edx
mov dword [esp + 0x28], esi
cmp esi, ecx
jb 0x427f8b
mov eax, dword [esp + 0x94]
lea edx, [esp + 0x6c]
push edx
push eax
call fcn.0041a8c0
mov ecx, dword [esp + 0x84]
mov eax, dword [esp + 0x80]
sub ecx, eax
add esp, 8
test ecx, 0xfffffffc
jne 0x427964
xor edi, edi
cmp eax, edi
je 0x4281ae
push eax
call fcn.0049b6ce
add esp, 4
mov ecx, dword [esp + 0x6c]
push ecx
mov dword [esp + 0x7c], edi
mov dword [esp + 0x80], edi
mov dword [esp + 0x84], edi
call fcn.0049b6ce
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x84]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x7c
ret
push 0x80004005
call fcn.00401000
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42820f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x8c], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x428236
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x78]
cmp eax, ebx
je 0x428247
push eax
call fcn.0049b6ce
add esp, 4
mov ecx, dword [esp + 0x6c]
push ecx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], ebx
call fcn.0049b6ce
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x84]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x7c
ret
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42829b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x8c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4282c3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x6c]
call fcn.0040b6b0
xor eax, eax
mov ecx, dword [esp + 0x84]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x7c
ret
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4282fe
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0x8c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x428326
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x6c]
call fcn.0040b6b0
xor eax, eax
mov ecx, dword [esp + 0x84]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x7c
ret
lea ecx, [esp + 0x2c]
call fcn.00401960
push ebp
lea ecx, [esp + 0x30]
push str.Script_Error:_Function__s_redefinition_
push ecx
mov byte [esp + 0x98], 0xb
call fcn.00401e40
mov edx, dword [esp + 0x38]
add esp, 0xc
push 0
push 0
push edx
call fcn.004a346e
lea ecx, [esp + 0x2c]
call fcn.0040b800
lea ecx, [esp + 0x6c]
call fcn.0040b6b0
xor eax, eax
mov ecx, dword [esp + 0x84]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x7c
ret
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x8c], 0xd
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4283cd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov byte [esp + 0x8c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4283f5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x6c]
call fcn.0040b6b0
xor eax, eax
mov ecx, dword [esp + 0x84]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x7c
ret