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

Disassembly:
mov eax, 0x6129df
call fcn.0060cc48
sub esp, 0x800
push ebx
push esi
xor ebx, ebx
mov esi, ecx
push edi
mov edi, ebx
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x40], ebx
call fcn.00404f47
push eax
lea ecx, [ebp - 0x50]
call fcn.004065d8
mov dword [ebp - 4], ebx
mov ecx, dword [esi + 0xbc]
test ecx, ecx
je 0x47a00c
call fcn.00472b97
test eax, eax
je 0x47a00c
mov eax, dword [ecx + 0x20]
mov ebx, 0x6ca908
sub eax, dword [ecx + 0x1c]
sar eax, 2
push eax
push 0x69edf4
push ebx
mov dword [ebp - 0x60], eax
call fcn.0048e9c0
xor eax, eax
add esp, 0xc
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x60], eax
jle 0x47a038
xor ecx, ecx
inc ecx
mov dword [ebp - 0x14], ecx
push eax
push 0x69ee14
push ebx
call fcn.0048e9c0
mov ecx, dword [esi + 0xbc]
add esp, 0xc
push dword [ebp - 0x34]
call fcn.00472cc0
mov edi, eax
mov dword [ebp - 0x1c], edi
test edi, edi
je 0x479f57
mov ecx, edi
call fcn.00472731
test eax, eax
je 0x479f57
lea ecx, [edi + 0x48]
push ecx
mov ecx, esi
call fcn.0047a3ee
test eax, eax
jne 0x47970b
mov eax, dword [0x6ca874]
lea ecx, [esi + 4]
push 0
push 0
push dword [ebp - 0x14]
mov edx, 0x107
mov dword [esi + 0x44], eax
mov eax, dword [ecx]
mov edi, edx
push edx
push 0x33
mov dword [ebp - 0x20], edi
call dword [eax + 4]
push dword [ebp - 0x14]
push 0x69ee60
jmp 0x479f83
cmp dword [edi + 0x78], 0
jne 0x479727
push dword [ebp - 0x34]
push 0x69ee90
push ebx
call fcn.0048e9c0
mov edi, dword [ebp - 0x20]
jmp 0x479f89
and dword [ebp - 0x18], 0
mov dword [esi + 0xe8], 1
call fcn.00404f47
push eax
lea ecx, [ebp - 0x2c]
call fcn.004065d8
xor eax, eax
inc eax
mov byte [ebp - 4], al
mov ecx, dword [edi + 0x4c]
sub ecx, 0x10
call fcn.00409008
mov dword [ebp - 0x38], eax
lea edi, [eax + 0x10]
mov dword [ebp - 0x68], edi
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x18]
push eax
push edi
lea ecx, [esi + 0xa4]
call fcn.00473a0d
push eax
push dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
push 0x69eebc
push ebx
call fcn.0048e9c0
mov eax, dword [ebp - 0x20]
add esp, 0x10
test eax, eax
je 0x4797de
push dword [ebp - 0x34]
push 0x69eefc
push ebx
call fcn.0048e9c0
mov eax, dword [0x6ca874]
lea ecx, [esi + 4]
mov edi, dword [ebp - 0x20]
add esp, 0xc
mov dword [esi + 0x44], eax
mov esi, dword [ebp - 0x2c]
mov eax, dword [ecx]
push esi
push dword [ebp - 0x18]
push dword [ebp - 0x14]
push edi
push 0x33
call dword [eax + 4]
mov ecx, dword [ebp - 0x38]
call fcn.00404ea9
lea ecx, [esi - 0x10]
mov byte [ebp - 4], 0
call fcn.00404ea9
mov esi, dword [ebp - 0x24]
jmp 0x479f8c
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0x58], 0
je 0x479960
cmp dword [0x6ca884], 0
jne 0x479960
push 0x69ef30
mov edx, 0x6ca8a4
lea ecx, [ebp - 0x30]
call fcn.0040aec1
mov byte [ebp - 4], 3
mov dword [esp], 0x69f31c
push ebx
call fcn.0048e9c0
pop ecx
pop ecx
push 0x69f340
lea ecx, [ebp - 0x54]
call fcn.00406173
push 0x1f4
push 0
push 0
lea edx, [ebp - 0x30]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x54]
call fcn.004744ff
mov byte [ebp - 4], 3
add esp, 0xc
mov ecx, dword [ebp - 0x54]
mov esi, eax
add ecx, 0xfffffff0
call fcn.00404ea9
test esi, esi
jne 0x479922
push dword [ebp - 0x30]
call dword [0x615524]
test eax, eax
je 0x479922
mov ebx, dword [ebp - 0x24]
push esi
push 1
mov eax, dword [ebx + 4]
lea ecx, [ebx + 4]
call dword [eax + 0xc]
lea ecx, [ebp - 0x7ac]
call fcn.00496477
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x280]
call fcn.00406123
push 0x6ca8a8
lea ecx, [ebp - 0x27c]
call fcn.00406123
push ecx
push ecx
lea ecx, [ebp - 0x7a8]
call fcn.0047b88e
mov edx, dword [ebx + 4]
lea ecx, [ebx + 4]
mov esi, eax
xor eax, eax
push esi
inc eax
push eax
call dword [edx + 0xc]
xor eax, eax
inc eax
cmp esi, eax
je 0x4798f3
push dword [ebp - 0x14]
mov ebx, 0x6ca908
push 0x69efcc
push ebx
call fcn.0048e9c0
add esp, 0xc
lea ecx, [ebp - 0x7ac]
call fcn.0049657e
jmp 0x479933
mov esi, dword [ebp - 0x24]
mov ecx, esi
push eax
mov dword [0x6ca888], eax
call fcn.00478bd9
lea ecx, [ebp - 0x7ac]
call fcn.0049657e
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x30]
lea ecx, [ecx - 0x10]
call fcn.00404ea9
jmp 0x479a94
push dword [ebp - 0x14]
push 0x69ef80
push ebx
call fcn.0048e9c0
add esp, 0xc
mov ecx, dword [ebp - 0x30]
lea ecx, [ecx - 0x10]
call fcn.00404ea9
mov ecx, dword [ebp - 0x38]
call fcn.00404ea9
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x2c]
lea ecx, [ecx - 0x10]
call fcn.00404ea9
mov esi, dword [ebp - 0x24]
mov edi, dword [ebp - 0x20]
jmp 0x479f8c
cmp byte [0x6ca8c0], 0
je 0x479a9c
cmp dword [eax + 0x50], 0
jne 0x479a9c
push 0x69effc
push ebx
call fcn.0048e9c0
mov eax, dword [ebp - 0x1c]
pop ecx
pop ecx
mov ecx, dword [eax + 0x14]
sub ecx, 0x10
call fcn.00409008
mov dword [ebp - 0x28], eax
lea esi, [eax + 0x10]
mov dword [ebp - 0x64], esi
xor eax, eax
mov byte [ebp - 4], 6
push eax
push 0x80
push 3
push eax
mov dword [ebp - 0x18], eax
inc eax
push eax
push 0x80000000
push esi
call dword [0x615480]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4799d5
push 0
push ebx
call dword [0x61542c]
push ebx
mov dword [ebp - 0x18], eax
call dword [0x61544c]
call fcn.00438543
mov ebx, eax
call fcn.00404f47
push eax
lea ecx, [ebp - 0x58]
call fcn.004065d8
lea eax, [ebx + 0xc]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0x58]
call fcn.00406123
mov ebx, dword [ebp - 0x18]
push ebx
push esi
push 0x69f014
push 0x6ca908
call fcn.0048e9c0
add esp, 0x10
lea ecx, [ebp - 0x80c]
call fcn.004960cf
push ebx
push ecx
mov byte [ebp - 4], 8
mov ebx, esp
mov dword [ebp - 0x18], ebx
mov esi, dword [ebp - 0x58]
lea eax, [esi - 0x10]
push eax
mov dword [ebp - 0x18], eax
call fcn.004067cf
pop ecx
add eax, 0x10
lea ecx, [ebp - 0x80c]
mov dword [ebx], eax
call fcn.004961cf
push ecx
push ecx
lea ecx, [ebp - 0x80c]
call fcn.0047ba0c
mov ebx, eax
push ebx
push 0x69f02c
push 0x6ca908
call fcn.0048e9c0
add esp, 0xc
cmp ebx, 2
je 0x479fa4
lea ecx, [ebp - 0x80c]
call fcn.00496187
mov ecx, dword [ebp - 0x18]
call fcn.00404ea9
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x28]
call fcn.00404ea9
mov esi, dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
mov ebx, 0x6ca908
push eax
mov ecx, esi
call fcn.00477430
call fcn.00404f47
push eax
lea ecx, [ebp - 0x3c]
call fcn.004065d8
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 9
push eax
push dword [ebp - 0x1c]
call fcn.0047a79b
mov eax, dword [ebp - 0x1c]
add eax, 0x14
mov dword [ebp - 0x28], eax
push dword [eax]
push dword [ebp - 0x14]
push 0x69f058
push ebx
call fcn.0048e9c0
add esp, 0x10
push dword [ebp - 0x1c]
call fcn.0047b391
mov ebx, dword [ebp - 0x3c]
test eax, eax
je 0x479bc0
push 3
lea eax, [ebp - 0x26c]
push ebx
lea ecx, [ebp - 0x270]
mov dword [ebp - 0x270], eax
call fcn.004066f6
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x168]
mov edi, dword [ebp - 0x28]
lea ecx, [ebp - 0x16c]
push 3
mov dword [ebp - 0x16c], eax
push dword [edi]
call fcn.004066f6
push ecx
xor eax, eax
mov byte [ebp - 4], 0xb
mov edx, dword [ebp - 0x270]
inc eax
mov ecx, dword [ebp - 0x16c]
push eax
push 0
call fcn.0046f66c
add esp, 0xc
neg eax
sbb al, al
inc al
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x168]
cmp dword [ebp - 0x16c], eax
je 0x479b6f
push dword [ebp - 0x16c]
call fcn.005f0fb3
pop ecx
lea eax, [ebp - 0x26c]
mov byte [ebp - 4], 9
cmp dword [ebp - 0x270], eax
je 0x479b8d
push dword [ebp - 0x270]
call fcn.005f0fb3
pop ecx
cmp byte [ebp - 0x18], 0
je 0x479f24
push dword [edi]
mov edi, 0x6ca908
mov dword [ebp - 0x18], 0x133
push dword [ebp - 0x14]
push 0x69f084
push edi
call fcn.0048e9c0
add esp, 0x10
mov edx, 0x133
jmp 0x479eca
call fcn.00404f47
push eax
lea ecx, [ebp - 0x44]
call fcn.004065d8
push dword [ebp - 0x14]
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 0xc
push eax
mov ecx, esi
call fcn.00478b2c
test eax, eax
jne 0x479c32
lea eax, [ebp - 0x26c]
mov dword [ebp - 0x270], eax
lea ecx, [ebp - 0x270]
mov eax, dword [ebp - 0x28]
push 3
push dword [eax]
call fcn.004066f6
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x44]
push dword [ebp - 0x270]
call fcn.004060f8
lea eax, [ebp - 0x26c]
mov byte [ebp - 4], 0xc
cmp dword [ebp - 0x270], eax
je 0x479c32
push dword [ebp - 0x270]
call fcn.005f0fb3
pop ecx
mov esi, dword [ebp - 0x44]
lea eax, [ebp - 0xe8]
push 3
push esi
lea ecx, [ebp - 0xec]
mov dword [ebp - 0xec], eax
call fcn.00408f48
mov byte [ebp - 4], 0xe
push dword [ebp - 0xec]
mov ecx, dword [ebp - 0x28]
call fcn.00405d0b
lea eax, [ebp - 0xe8]
mov byte [ebp - 4], 0xc
cmp dword [ebp - 0xec], eax
je 0x479c7f
push dword [ebp - 0xec]
call fcn.005f0fb3
pop ecx
lea eax, [ebp - 0x26c]
mov dword [ebp - 0x270], eax
lea ecx, [ebp - 0x270]
mov eax, dword [ebp - 0x1c]
push 3
push dword [eax + 0xc]
call fcn.004066f6
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x48]
push dword [ebp - 0x270]
call fcn.00406173
lea eax, [ebp - 0x26c]
mov byte [ebp - 4], 0x11
cmp dword [ebp - 0x270], eax
je 0x479cce
push dword [ebp - 0x270]
call fcn.005f0fb3
pop ecx
lea edx, [ebp - 0x48]
mov ecx, esi
call fcn.00470ea2
mov ecx, dword [ebp - 0x24]
test eax, eax
jne 0x479d3d
mov eax, dword [0x6ca874]
mov edx, 0x131
mov ebx, dword [ebp - 0x14]
push 0
mov dword [ecx + 0x44], eax
add ecx, 4
push 0
push ebx
push edx
mov eax, dword [ecx]
push 0x33
mov dword [ebp - 0x20], edx
call dword [eax + 4]
push esi
push ebx
push 0x69f0b0
mov ebx, 0x6ca908
push ebx
call fcn.0048e9c0
mov ecx, dword [ebp - 0x48]
add esp, 0x10
lea ecx, [ecx - 0x10]
call fcn.00404ea9
lea ecx, [esi - 0x10]
call fcn.00404ea9
mov ecx, dword [ebp - 0x3c]
lea ecx, [ecx - 0x10]
call fcn.00404ea9
lea ecx, [edi - 0x10]
jmp 0x479941
mov edi, dword [ebp - 0x14]
lea eax, [ebp - 0x3c]
push eax
push edi
push dword [ebp - 0x1c]
call fcn.004782ae
push eax
push edi
push 0x69f0e8
mov edi, 0x6ca908
mov dword [ebp - 0x18], eax
push edi
call fcn.0048e9c0
add esp, 0x10
cmp dword [ebp - 0x18], 0
jne 0x479e88
mov edx, dword [ebp - 0x1c]
cmp dword [edx + 0x50], 0
je 0x479da2
cmp dword [edx + 0x68], 0
je 0x479da2
call fcn.00478619
test eax, eax
jle 0x479da2
lea eax, [ebp - 0x50]
push eax
push edx
call fcn.0047b3ad
mov edx, dword [ebp - 0x40]
test eax, eax
push 1
pop eax
cmovne edx, eax
mov dword [ebp - 0x40], edx
mov edx, dword [ebp - 0x1c]
cmp dword [ebp - 0x40], 0
je 0x479e62
cmp dword [edx + 0x50], 0
jne 0x479e62
push 0x69f12c
lea ecx, [edx + 0x10]
call fcn.0046f02a
test eax, eax
jne 0x479e62
and dword [ebp - 0x40], eax
lea ecx, [ebp - 0x16c]
lea eax, [ebp - 0x168]
mov dword [ebp - 0x16c], eax
mov eax, dword [ebp - 0x28]
push 3
push dword [eax]
call fcn.004066f6
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x5c]
push dword [ebp - 0x16c]
call fcn.00406173
lea eax, [ebp - 0x168]
mov byte [ebp - 4], 0x14
cmp dword [ebp - 0x16c], eax
je 0x479e1c
push dword [ebp - 0x16c]
call fcn.005f0fb3
pop ecx
push ecx
mov edi, esp
mov dword [ebp - 0x64], edi
mov eax, dword [ebp - 0x5c]
add eax, 0xfffffff0
push eax
call fcn.004067cf
pop ecx
push dword [ebp - 0x50]
add eax, 0x10
mov dword [edi], eax
mov edi, dword [ebp - 0x24]
call fcn.005ea496
pop ecx
lea edx, [edi + 0xdc]
mov ecx, eax
call fcn.00472007
pop ecx
mov byte [ebp - 4], 0x11
mov ecx, dword [ebp - 0x5c]
lea ecx, [ecx - 0x10]
call fcn.00404ea9
mov edi, 0x6ca908
mov eax, dword [ebp - 0x1c]
push dword [eax + 0x74]
call fcn.0047af6a
test eax, eax
je 0x479e88
lea eax, [ebp - 0x28]
mov dword [ebp - 0x28], 3
push eax
call fcn.0048ab80
mov ecx, eax
call fcn.0048b32a
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0x3c], 0
jne 0x479ea9
push esi
call fcn.0047a764
push esi
push dword [ebp - 0x14]
push 0x69f130
push edi
call fcn.0048e9c0
add esp, 0x10
mov ecx, dword [ebp - 0x48]
lea ecx, [ecx - 0x10]
call fcn.00404ea9
lea ecx, [esi - 0x10]
mov byte [ebp - 4], 9
call fcn.00404ea9
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x24]
test edx, edx
je 0x479f24
mov eax, dword [0x6ca874]
lea ecx, [esi + 4]
push 0
push 0
push dword [ebp - 0x14]
mov dword [esi + 0x44], eax
mov eax, dword [ecx]
push edx
push 0x33
mov dword [ebp - 0x20], edx
call dword [eax + 4]
push dword [ebp - 0x18]
push dword [ebp - 0x14]
push 0x69f160
push edi
call fcn.0048e9c0
add esp, 0x10
lea ecx, [ebx - 0x10]
call fcn.00404ea9
mov ecx, dword [ebp - 0x38]
call fcn.00404ea9
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x2c]
lea ecx, [ecx - 0x10]
call fcn.00404ea9
mov ebx, 0x6ca908
jmp 0x479958
mov eax, dword [0x6ca874]
lea ecx, [esi + 4]
mov edi, dword [ebp - 0x14]
xor edx, edx
push edx
push edx
push edi
mov dword [esi + 0x44], eax
mov eax, dword [ecx]
push edx
push 0x33
call dword [eax + 4]
push edi
push 0x69f190
push 0x6ca908
call fcn.0048e9c0
add esp, 0xc
inc dword [ebp - 0x4c]
jmp 0x479efb
mov eax, dword [0x6ca874]
lea ecx, [esi + 4]
push 0
push 0
push dword [ebp - 0x14]
mov edx, 0xfd
mov dword [esi + 0x44], eax
mov eax, dword [ecx]
mov edi, edx
push edx
push 0x33
mov dword [ebp - 0x20], edi
call dword [eax + 4]
push dword [ebp - 0x14]
push 0x69ee38
push ebx
call fcn.0048e9c0
add esp, 0xc
mov eax, dword [ebp - 0x34]
inc eax
inc dword [ebp - 0x14]
mov dword [ebp - 0x34], eax
cmp eax, dword [ebp - 0x60]
jl 0x479692
jmp 0x47a038
push 0x69f04c
push 0x6ca908
call fcn.0048e9c0
mov eax, dword [0x6ca874]
xor ebx, ebx
pop ecx
pop ecx
mov ecx, dword [ebp - 0x24]
mov edi, 0x10d
push ebx
push ebx
mov dword [ecx + 0x44], eax
add ecx, 4
mov eax, dword [ebp - 0x34]
inc eax
push eax
mov edx, dword [ecx]
push edi
push 0x33
call dword [edx + 4]
lea ecx, [ebp - 0x80c]
call fcn.00496187
lea ecx, [esi - 0x10]
call fcn.00404ea9
mov ecx, dword [ebp - 0x28]
call fcn.00404ea9
mov ecx, dword [ebp - 0x38]
call fcn.00404ea9
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x2c]
lea ecx, [ecx - 0x10]
call fcn.00404ea9
jmp 0x47a038
mov eax, dword [0x6ca874]
lea ecx, [esi + 4]
push ebx
push ebx
push ebx
mov dword [esi + 0x44], eax
mov edi, 0x132
mov eax, dword [ecx]
push edi
push 0x33
call dword [eax + 4]
push 0x69edcc
push 0x6ca908
call fcn.0048e9c0
pop ecx
pop ecx
mov esi, dword [ebp - 0x4c]
push edi
push esi
push 0x69f1bc
push 0x6ca908
call fcn.0048e9c0
mov ecx, dword [ebp - 0x50]
xor eax, eax
add esp, 0x10
test esi, esi
cmovg edi, eax
add ecx, 0xfffffff0
call fcn.00404ea9
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret