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

Disassembly:
push 0xffffffffffffffff
push 0x44588c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x60
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x18], esi
xor ebp, ebp
xor eax, eax
mov dword [esp + 0x78], ebp
mov bl, 0xb
push eax
push 0x459368
lea ecx, [esp + 0x88]
call fcn.004b2519
cmp eax, ebp
mov dword [esp + 0x28], eax
jl 0x47e5b4
push eax
push 0x45935c
lea ecx, [esp + 0x88]
call fcn.004b2519
mov edx, eax
cmp edx, ebp
jl 0x47e5b4
mov eax, dword [0x45aa64]
mov dword [esp + 0x10], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], 0x4497c0
mov dword [esp + 0x60], ebp
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x68], ebp
mov dword [esp + 0x64], ebp
mov edi, 0x45935c
or ecx, 0xffffffff
xor eax, eax
mov byte [esp + 0x78], 3
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0x28]
not ecx
dec ecx
sub edx, eax
add ecx, edx
push ecx
push eax
lea eax, [esp + 0x34]
lea ecx, [esp + 0x88]
push eax
call fcn.004b235f
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x7c], 4
call fcn.004b3e8f
lea ecx, [esp + 0x2c]
mov byte [esp + 0x78], 3
call fcn.004b3d56
lea ecx, [esp + 0x4c]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x40], esp
push 0x459354
call fcn.004b3dc4
push ecx
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x40], esp
push edx
mov byte [esp + 0x88], 5
call fcn.004b3acb
mov byte [esp + 0x84], 3
call fcn.0047db51
add esp, 0xc
lea eax, [esp + 0x24]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x40], esp
push 0x45934c
call fcn.004b3dc4
push ecx
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x40], esp
push edx
mov byte [esp + 0x88], 6
call fcn.004b3acb
mov byte [esp + 0x84], 3
call fcn.0047db51
add esp, 0xc
lea ecx, [esp + 0x24]
push 5
call fcn.004b4186
push eax
call fcn.004a0640
add esp, 4
mov dword [esp + 0x50], eax
lea eax, [esp + 0x54]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x40], esp
push 0x459344
call fcn.004b3dc4
push ecx
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x40], esp
push edx
mov byte [esp + 0x88], 7
call fcn.004b3acb
mov byte [esp + 0x84], 3
call fcn.0047db51
add esp, 0xc
lea eax, [esp + 0x58]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x40], esp
push 0x459338
call fcn.004b3dc4
push ecx
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x40], esp
push edx
mov byte [esp + 0x88], 8
call fcn.004b3acb
mov byte [esp + 0x84], 3
call fcn.0047db51
add esp, 0xc
push ebp
push 0x45932c
lea ecx, [esp + 0x18]
call fcn.004b2519
mov ebp, eax
xor edi, edi
cmp ebp, edi
jl 0x47e2f5
push ebp
push 0x459320
lea ecx, [esp + 0x18]
call fcn.004b2519
mov edx, eax
cmp edx, edi
jl 0x47e2ef
mov eax, dword [0x45aa64]
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x40], edi
mov edi, 0x459320
or ecx, 0xffffffff
xor eax, eax
sub edx, ebp
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + 0x30]
add ecx, edx
mov byte [esp + 0x78], bl
push ecx
push ebp
push eax
lea ecx, [esp + 0x1c]
call fcn.004b235f
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x7c], 0xc
call fcn.004b3e8f
lea ecx, [esp + 0x30]
mov byte [esp + 0x78], bl
call fcn.004b3d56
lea ecx, [esp + 0x3c]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x40], esp
push 0x459318
call fcn.004b3dc4
push ecx
lea edx, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x40], esp
push edx
mov byte [esp + 0x88], 0xd
call fcn.004b3acb
mov byte [esp + 0x84], bl
call fcn.0047db51
add esp, 0xc
lea eax, [esp + 0x1c]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x40], esp
push 0x45930c
call fcn.004b3dc4
push ecx
lea edx, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x40], esp
push edx
mov byte [esp + 0x88], 0xe
call fcn.004b3acb
mov byte [esp + 0x84], bl
call fcn.0047db51
add esp, 0xc
lea ecx, [esp + 0x1c]
push 5
call fcn.004b4186
push eax
call fcn.004a0640
add esp, 4
mov dword [esp + 0x40], eax
lea eax, [esp + 0x44]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x40], esp
push 0x459304
call fcn.004b3dc4
push ecx
lea edx, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x40], esp
push edx
mov byte [esp + 0x88], 0xf
call fcn.004b3acb
mov byte [esp + 0x84], bl
call fcn.0047db51
add esp, 0xc
lea eax, [esp + 0x48]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x40], esp
push 0x4592f4
call fcn.004b3dc4
push ecx
lea edx, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x40], esp
push edx
mov byte [esp + 0x88], 0x10
call fcn.004b3acb
mov byte [esp + 0x84], bl
call fcn.0047db51
mov esi, dword [esp + 0x70]
add esp, 0xc
lea ecx, [esp + 0x5c]
lea eax, [esi + 1]
push 0xffffffffffffffff
push eax
call fcn.0047eec1
mov edi, dword [esp + 0x60]
lea ecx, [esp + 0x3c]
shl esi, 4
add esi, edi
push ecx
mov ecx, esi
call fcn.004b3e8f
mov edx, dword [esp + 0x40]
lea eax, [esp + 0x44]
push eax
lea ecx, [esi + 8]
mov dword [esi + 4], edx
call fcn.004b3e8f
lea ecx, [esp + 0x48]
push ecx
lea ecx, [esi + 0xc]
call fcn.004b3e8f
lea ecx, [esp + 0x48]
mov byte [esp + 0x78], 0x12
call fcn.004b3d56
lea ecx, [esp + 0x44]
mov byte [esp + 0x78], 0x11
call fcn.004b3d56
lea ecx, [esp + 0x3c]
mov byte [esp + 0x78], 0xa
call fcn.004b3d56
lea ecx, [esp + 0x1c]
mov byte [esp + 0x78], 9
call fcn.004b3d56
lea ecx, [esp + 0x14]
mov byte [esp + 0x78], 3
call fcn.004b3d56
mov esi, dword [esp + 0x18]
inc ebp
jmp 0x47e0b8
mov ecx, dword [esi + 0x24]
mov ebp, ecx
mov dword [esp + 0x38], ebp
inc ebp
cmp ebp, edi
jne 0x47e33f
mov ebp, dword [esi + 0x20]
cmp ebp, edi
je 0x47e334
mov edx, ecx
dec ecx
test edx, edx
je 0x47e325
lea edi, [ecx + 1]
push 0
mov ecx, ebp
call fcn.0047f071
add ebp, 0x24
dec edi
jne 0x47e314
xor edi, edi
mov eax, dword [esi + 0x20]
push eax
call fcn.004b3ac0
add esp, 4
mov dword [esi + 0x20], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x24], edi
jmp 0x47e4a9
mov eax, dword [esi + 0x20]
cmp eax, edi
jne 0x47e3aa
lea edi, [ebp + ebp*8]
shl edi, 2
push edi
call fcn.004b3a97
mov edx, eax
mov ecx, edi
mov dword [esi + 0x20], edx
mov esi, edx
mov edi, edx
mov edx, ecx
xor eax, eax
add esp, 4
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
mov dword [esp + 0x20], esi
and ecx, 3
rep stosb byte es:[edi], al
lea edi, [ebp]
mov dword [esp + 0x34], esi
test esi, esi
mov byte [esp + 0x78], 0x13
je 0x47e38c
mov ecx, esi
call fcn.0047e5f1
add esi, 0x24
dec edi
mov byte [esp + 0x78], 3
mov dword [esp + 0x20], esi
jne 0x47e378
mov eax, dword [esp + 0x18]
mov dword [eax + 0x28], ebp
mov dword [eax + 0x24], ebp
jmp 0x47e4a5
cmp ebp, dword [esi + 0x28]
jg 0x47e402
cmp ecx, ebp
jge 0x47e3cc
mov edx, ebp
sub edx, ecx
lea ecx, [ecx + ecx*8]
push edx
lea edx, [eax + ecx*4]
push edx
call fcn.0047f0f1
mov dword [esi + 0x24], ebp
jmp 0x47e4a9
jle 0x47e3fa
lea edx, [ebp + ebp*8]
sub ecx, ebp
lea edi, [eax + edx*4]
mov eax, ecx
dec ecx
test eax, eax
je 0x47e3fa
inc ecx
mov dword [esp + 0x20], ecx
push 0
mov ecx, edi
call fcn.0047f071
mov eax, dword [esp + 0x20]
add edi, 0x24
dec eax
mov dword [esp + 0x20], eax
jne 0x47e3e3
mov dword [esi + 0x24], ebp
jmp 0x47e4a9
mov eax, dword [esi + 0x2c]
cmp eax, edi
jne 0x47e42c
mov eax, ecx
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp eax, 4
jge 0x47e420
mov eax, 4
jmp 0x47e42c
cmp eax, 0x400
jle 0x47e42c
mov eax, 0x400
mov ecx, dword [esi + 0x28]
add eax, ecx
cmp ebp, eax
jge 0x47e43b
mov dword [esp + 0x20], eax
jmp 0x47e441
mov dword [esp + 0x20], ebp
mov eax, ebp
lea ecx, [eax + eax*8]
shl ecx, 2
push ecx
call fcn.004b3a97
mov ecx, dword [esi + 0x24]
mov esi, dword [esi + 0x20]
mov edi, eax
add esp, 4
lea ecx, [ecx + ecx*8]
mov dword [esp + 0x34], eax
shl ecx, 2
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x18]
mov ecx, dword [esi + 0x24]
sub edx, ecx
lea ecx, [ecx + ecx*8]
push edx
lea edx, [eax + ecx*4]
push edx
call fcn.0047f0f1
mov eax, dword [esi + 0x20]
push eax
call fcn.004b3ac0
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x24]
add esp, 4
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], ebp
mov dword [esi + 0x28], ecx
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x38]
push 0xffffffffffffffff
push 0
lea edx, [eax + eax*8]
mov eax, dword [esi + 0x20]
lea edi, [eax + edx*4]
lea ebp, [edi + 0x10]
mov ecx, ebp
call fcn.0047eec1
lea ecx, [esp + 0x4c]
push ecx
mov ecx, edi
call fcn.004b3e8f
mov edx, dword [esp + 0x50]
lea eax, [esp + 0x54]
push eax
lea ecx, [edi + 8]
mov dword [edi + 4], edx
call fcn.004b3e8f
lea ecx, [esp + 0x58]
push ecx
lea ecx, [edi + 0xc]
call fcn.004b3e8f
lea edx, [esp + 0x5c]
mov ecx, ebp
push edx
call fcn.0047e761
lea eax, [esp + 0x5c]
mov dword [esp + 0x5c], 0x4497c0
mov dword [esp + 0x34], eax
mov edi, dword [esp + 0x60]
test edi, edi
je 0x47e560
mov eax, dword [esp + 0x64]
mov dword [esp + 0x38], edi
test eax, eax
je 0x47e557
lea ebp, [eax]
lea ecx, [edi + 0xc]
mov byte [esp + 0x78], 0x19
call fcn.004b3d56
lea ecx, [edi + 8]
mov byte [esp + 0x78], 0x18
call fcn.004b3d56
mov ecx, edi
mov byte [esp + 0x78], 0x17
call fcn.004b3d56
add edi, 0x10
dec ebp
mov dword [esp + 0x38], edi
jne 0x47e523
mov edi, dword [esp + 0x60]
push edi
call fcn.004b3ac0
add esp, 4
lea ecx, [esp + 0x58]
mov byte [esp + 0x78], 0x15
call fcn.004b3d56
lea ecx, [esp + 0x54]
mov byte [esp + 0x78], 0x14
call fcn.004b3d56
lea ecx, [esp + 0x4c]
mov byte [esp + 0x78], 2
call fcn.004b3d56
lea ecx, [esp + 0x24]
mov byte [esp + 0x78], 1
call fcn.004b3d56
lea ecx, [esp + 0x10]
mov byte [esp + 0x78], 0
call fcn.004b3d56
mov ecx, dword [esp + 0x28]
xor ebp, ebp
lea eax, [ecx + 1]
jmp 0x47deed
lea ecx, [esp + 0x80]
mov dword [esp + 0x78], 0xffffffff
call fcn.004b3d56
mov ecx, dword [esp + 0x70]
pop edi
pop esi
pop ebp
mov eax, 1
mov dword fs:[0], ecx
pop ebx
add esp, 0x6c
ret 4