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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x3c0
mov ebp, ecx
mov ecx, dword [esp + 0x3d4]
mov edi, dword [ecx + 0x300]
test edi, edi
je 0x479cac
cmp edi, 6
ja 0x47a8ba
mov eax, edi
shl eax, 7
cmp dword [eax + ecx - 0x80], 2
je 0x47a8ba
lea esi, [eax + ecx - 0x80]
jmp 0x479cb2
mov esi, dword [ecx + 0x304]
mov eax, dword [edx + 0x2c]
movsd xmm0, qword [edx + 0x24]
test edi, edi
mov dword [esp + 0x20], edx
sete bh
mov dword [esp + 0x58], eax
movsd qword [esp + 0x50], xmm0
push dword [esi + 0x6c]
push dword [esi + 0x68]
call fcn.0043caf0
add esp, 8
mov dword [esp + 0xb4], eax
lea eax, [esp + 0xb4]
mov dword [esp + 0xb8], edx
mov dword [esp + 0xbc], 0
push dword [esp + 0x3dc]
push dword [esp + 0x3dc]
push eax
call fcn.0047a8c0
add esp, 0xc
cmp al, 0x45
jne 0x479d8a
mov eax, dword [esp + 0xbc]
mov bl, 0x1a
cmp eax, dword [esp + 0xb8]
jne 0x479d8c
mov eax, dword [esi + 0x10]
test eax, eax
je 0x479dc6
push dword [esi + 0x14]
push eax
call fcn.0043caf0
add esp, 8
mov dword [esp + 0xb4], eax
xor eax, eax
mov al, bh
mov dword [esp + 0xb8], edx
mov dword [esp + 0xbc], 0
push dword [esp + 0x3e8]
push eax
lea eax, [esp + 0xbc]
push eax
call fcn.0047a9a0
add esp, 0xc
cmp al, 0x45
jne 0x479d8a
mov eax, dword [esp + 0xbc]
cmp eax, dword [esp + 0xb8]
jne 0x479d8c
jmp 0x479dcc
mov ebx, eax
mov eax, ebx
mov edx, 0x1000101
add al, 0xd3
cmp bl, 0x1a
movzx ecx, al
mov eax, 8
cmovae eax, ecx
mov ecx, eax
shl ecx, 3
shr edx, cl
xor ecx, ecx
cmp al, 4
cmovb ecx, edx
mov byte [ebp + 1], cl
mov byte [ebp + 2], bl
mov byte [ebp], 1
add esp, 0x3c0
pop esi
pop edi
pop ebx
pop ebp
ret
mov bl, 0x21
test edi, edi
jne 0x479d8c
lea eax, [esp + 0x50]
push eax
push 0x1a
push dword [esi + 0x24]
push dword [esi + 0x20]
call fcn.0047f070
add esp, 0x10
mov ebx, eax
cmp al, 0x45
jne 0x479d8c
mov ecx, dword [esp + 0x20]
xor edx, edx
mov dword [esp + 0x10], ebp
mov eax, dword [ecx + 0xc]
test eax, eax
je 0x47a373
mov esi, dword [ecx + 8]
lea eax, [eax + eax*2]
mov byte [esp + 8], 0x36
mov dword [esp + 0x30], edi
shl eax, 4
add eax, esi
mov dword [esp + 0x24], eax
mov eax, dword [ecx]
mov dword [esp + 0xc], eax
mov eax, dword [ecx + 4]
mov dword [esp + 0x2c], eax
lea eax, [ecx + 0x18]
mov dword [esp + 0x38], eax
movzx eax, byte [ecx + 0x20]
mov byte [esp + 0x4c], al
lea ebx, [esi + 0x10]
push ebx
call fcn.00495f50
add esp, 4
push edx
push eax
call fcn.0043caf0
add esp, 8
mov ecx, dword [esp + 0x3d4]
mov dword [esp], esi
mov ebp, dword [ecx + 0x300]
test ebp, ebp
je 0x479e88
cmp ebp, 6
ja 0x47a8ba
mov esi, dword [esp + 0x3d4]
mov ecx, ebp
shl ecx, 7
cmp dword [ecx + esi - 0x80], 2
je 0x47a8ba
lea ecx, [ecx + esi - 0x80]
mov esi, dword [esp]
cmp dword [ecx + 0x64], edx
je 0x479e93
jmp 0x479ea4
mov ecx, dword [ecx + 0x304]
cmp dword [ecx + 0x64], edx
jne 0x479ea4
push edx
push eax
push dword [ecx + 0x60]
call fcn.004f60f4
add esp, 0xc
test eax, eax
je 0x479ef5
mov eax, dword [esp + 0x1c]
mov ebp, dword [esp + 0x10]
and eax, 0xff000000
or eax, 0x360001
test al, al
je 0x47a377
test eax, 0xff00
jne 0x47a380
movzx ecx, byte [esp + 8]
mov dword [esp + 0x1c], eax
add esi, 0x30
shr eax, 0x10
push eax
push ecx
call fcn.0047abc0
add esp, 8
cmp esi, dword [esp + 0x24]
mov byte [esp + 8], al
jne 0x479e30
jmp 0x47a38a
test ebp, ebp
je 0x479f10
mov ecx, dword [esp + 0x3d4]
mov eax, ebp
shl eax, 7
cmp dword [eax + ecx - 0x80], 2
je 0x47a8ba
lea eax, [esi + 0x20]
mov dword [esp + 0x34], ebp
push eax
call fcn.00495f50
add esp, 4
push edx
push eax
call fcn.0043caf0
add esp, 8
mov esi, eax
mov dword [esp + 4], edx
push ebx
call fcn.00495f50
add esp, 4
push edx
push eax
call fcn.0043caf0
add esp, 8
cmp byte [esp + 0x4c], 2
jne 0x479fed
mov ebx, dword [esp + 0x34]
mov eax, dword [esp + 0x3d4]
nop dword [eax]
test ebx, ebx
je 0x479f87
mov ecx, dword [esp + 0xc]
cmp ebx, 6
ja 0x47a8ba
lea edi, [ebx - 1]
mov ebp, edi
shl ebp, 7
cmp dword [eax + ebp], 2
je 0x47a8ba
add ebp, eax
jmp 0x479f93
mov ebp, dword [eax + 0x304]
mov ecx, dword [esp + 0xc]
xor edi, edi
mov dword [esp + 0xb4], ebx
mov dword [esp + 0xb8], eax
lea eax, [ebp + 0x48]
mov dword [esp + 0xbc], ebp
push dword [esp + 0x3ec]
push eax
push dword [esp + 0xc]
push esi
push dword [esp + 0x3c]
push ecx
call fcn.0047d9e0
add esp, 0x18
cmp al, 0x45
jne 0x47a229
mov eax, dword [ebp + 0x7c]
mov esi, dword [ebp + 0x78]
test ebx, ebx
mov ebx, edi
mov dword [esp + 4], eax
mov eax, dword [esp + 0x3d4]
jne 0x479f60
jmp 0x47a112
mov ebx, dword [esp + 0x34]
mov ecx, dword [esp + 0x3d4]
mov edi, eax
mov dword [esp + 0x18], 0
nop word cs:[eax + eax]
nop dword [eax]
test ebx, ebx
mov dword [esp + 0x40], edi
mov dword [esp + 0x28], edx
mov dword [esp + 0x14], ebx
je 0x47a047
mov eax, dword [esp + 0xc]
cmp ebx, 6
ja 0x47a8ba
lea ebp, [ebx - 1]
mov ebx, ebp
shl ebx, 7
cmp dword [ecx + ebx], 2
je 0x47a8ba
add ebx, ecx
mov dword [esp + 0x3c], ebp
jmp 0x47a059
mov ebx, dword [ecx + 0x304]
mov eax, dword [esp + 0xc]
mov dword [esp + 0x3c], 0
mov edx, dword [esp + 0x14]
mov edi, dword [esp + 0x3ec]
mov dword [esp + 0xb4], edx
mov dword [esp + 0xb8], ecx
mov dword [esp + 0xbc], ebx
add ebx, 0x48
push edi
push ebx
mov ebp, dword [esp + 0xc]
push ebp
push esi
mov edi, esi
mov esi, dword [esp + 0x3c]
push esi
push eax
mov ebx, eax
call fcn.0047d9e0
add esp, 0x18
cmp al, 0x45
jne 0x47a229
push dword [esp + 0x3ec]
push esi
push ebx
push dword [esp + 0x54]
push dword [esp + 0x28]
push ebp
push edi
push dword [esp + 0x44]
push dword [esp + 0x60]
lea eax, [esp + 0xd8]
push eax
push dword [esp + 0x60]
call fcn.004798d0
add esp, 0x2c
test al, 1
mov ecx, eax
jne 0x47a227
mov eax, dword [esp + 0xbc]
cmp dword [esp + 0x14], 0
mov ebx, dword [esp + 0x3c]
mov ecx, dword [eax + 0x7c]
mov esi, dword [eax + 0x78]
mov edi, dword [eax + 0x70]
mov edx, dword [eax + 0x74]
mov dword [esp + 4], ecx
mov ecx, dword [eax + 0x18]
mov eax, dword [eax + 0x1c]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x3d4]
mov dword [esp + 0x48], eax
jne 0x47a010
mov ecx, dword [esp]
xor eax, eax
mov edi, dword [esp + 0x30]
cmp dword [ecx], 2
je 0x47a133
push ecx
call fcn.00495f50
add esp, 4
push edx
push eax
call fcn.0043caf0
add esp, 8
mov ecx, dword [esp + 0x34]
jmp 0x47a172
push dword [esp + 0x3ec]
lea eax, [esp + 0x54]
push eax
push 0
call fcn.0047cb00
add esp, 0xc
cmp al, 0x45
jne 0x47a259
mov ecx, dword [esp + 0x58]
test ebp, ebp
mov ebp, dword [esp + 0x10]
mov eax, dword [ecx + 0x28]
mov edx, dword [ecx + 0x2c]
mov ecx, esi
mov esi, dword [esp]
je 0x47a297
test ecx, ecx
je 0x47a19e
cmp ecx, 6
ja 0x47a8ba
mov ebx, dword [esp + 0x3d4]
lea esi, [ecx - 1]
mov ebp, ecx
mov ecx, esi
shl ecx, 7
cmp dword [ebx + ecx], 2
je 0x47a8ba
add ecx, ebx
jmp 0x47a1af
mov ebx, dword [esp + 0x3d4]
mov ebp, ecx
xor esi, esi
mov ecx, dword [ebx + 0x304]
test eax, eax
mov dword [esp + 0x50], ebp
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ecx
je 0x47a139
push edx
push eax
call fcn.0043caf0
add esp, 8
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], edx
mov dword [esp + 0xbc], 0
push dword [esp + 0x3ec]
lea eax, [esp + 0x54]
push eax
lea eax, [esp + 0xbc]
push eax
call fcn.0047cb00
add esp, 0xc
cmp al, 0x45
jne 0x47a259
mov eax, dword [esp + 0xbc]
cmp eax, dword [esp + 0xb8]
je 0x47a157
mov esi, dword [esp]
mov ebp, dword [esp + 0x10]
xor ecx, ecx
mov al, 0x1a
jmp 0x47a27b
mov eax, edx
mov ecx, eax
mov ebp, dword [esp + 0x10]
mov edi, dword [esp + 0x30]
mov esi, dword [esp]
add cl, 0xd3
cmp al, 0x1a
movzx edx, cl
mov ecx, 8
cmovb edx, ecx
xor ecx, ecx
cmp dl, 3
ja 0x47a27b
movsx ecx, dl
mov ecx, dword [ecx*4 + 0x524d48]
jmp 0x47a27b
mov esi, dword [esp]
mov ebp, dword [esp + 0x10]
xor ecx, ecx
cmp al, 0x1a
jb 0x47a27b
movzx edx, al
add edx, 0xffffffd3
cmp edx, 3
ja 0x47a27b
cmp edx, 2
je 0x47a27b
mov ecx, 0x100
mov edx, dword [esp + 0x1c]
movzx eax, al
shl eax, 0x10
and edx, 0xff000000
or edx, ecx
or eax, edx
or eax, 1
jmp 0x479eb6
cmp dword [esp + 0x3e0], 0
je 0x47a361
mov edx, dword [esp + 0x3d4]
mov eax, dword [edx + 0x300]
cmp eax, 7
jae 0x47a8ba
mov ecx, dword [edx + 0x304]
mov dword [esp + 0xb4], ecx
mov dword [esp + 0xbc], 3
mov dword [esp + 0xc0], edx
mov dword [esp + 0xc4], eax
lea eax, [esp + 0xb4]
mov dword [esp + 0xb8], esi
push eax
push dword [esp + 0x3e4]
mov eax, dword [esp + 0x3ec]
call dword [eax + 0x14]
add esp, 8
mov edx, dword [esp + 0x1c]
movzx ecx, al
xor ebx, ebx
shl ecx, 0x10
mov esi, edx
and esi, 0xff000000
or esi, ecx
cmp al, 0x45
cmove esi, edx
mov edx, dword [esp + 0x44]
setne cl
cmove edx, dword [esp]
and esi, 0xffffff00
cmp dword [esp + 0xbc], 3
mov dword [esp + 0x44], edx
je 0x47a353
mov byte [esp + 4], cl
lea ecx, [esp + 0xbc]
call fcn.00479b90
movzx ecx, byte [esp + 4]
mov bl, cl
or esi, ebx
mov eax, esi
mov esi, dword [esp]
jmp 0x479eb6
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x44], esi
and eax, 0xffffff00
jmp 0x479eb6
mov al, 0x36
jmp 0x47a3be
mov eax, dword [esp + 0x44]
jmp 0x47a86f
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x44]
jmp 0x47a3c9
movzx eax, byte [esp + 8]
cmp al, 0x1a
jb 0x47a3b8
movzx eax, al
mov edx, 0
add eax, 0xffffffd3
cmp eax, 3
ja 0x47a3ad
cmp eax, 2
je 0x47a3ad
mov edx, 0x100
mov ecx, dword [esp + 0x20]
movzx eax, byte [esp + 8]
jmp 0x47a3be
mov ecx, dword [esp + 0x20]
xor edx, edx
movzx eax, al
shl eax, 0x10
or eax, edx
or eax, 1
test eax, 0xff00
je 0x47a3db
mov dword [ebp], eax
mov dword [ebp + 4], edx
jmp 0x479dbb
mov esi, dword [ecx + 0x14]
shr eax, 0x10
test esi, esi
je 0x47a87b
mov ecx, dword [ecx + 0x10]
mov edx, dword [esp + 0x3e8]
shl esi, 4
add esi, ecx
cmp edi, 1
sbb edx, 0xffffffff
mov dword [esp + 0x24], esi
mov dword [esp + 0x4c], edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0xc], ecx
push ecx
call fcn.00495f50
add esp, 4
push edx
push eax
call fcn.0043caf0
add esp, 8
push edx
push eax
lea eax, [esp + 0xbc]
push eax
call fcn.00478c90
add esp, 0xc
mov eax, dword [esp + 0xb4]
movzx edx, byte [esp + 0xb8]
cmp eax, 2
jne 0x47a47c
mov eax, edx
add al, 0xd3
cmp dl, 0x1a
movzx ecx, al
mov eax, 8
cmovb ecx, eax
xor eax, eax
cmp cl, 3
ja 0x47a46a
movsx eax, cl
mov eax, dword [eax*4 + 0x524d48]
and ebx, 0xff000000
shl edx, 0x10
or ebx, eax
or ebx, edx
jmp 0x47a6f1
movzx ecx, word [esp + 0xb9]
mov dword [esp + 0x40], eax
mov dword [esp + 0x48], edx
lea edi, [esp + 0x50]
lea esi, [esp + 0xc0]
movzx eax, byte [esp + 0xbb]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0xbc]
mov dword [esp + 0x38], ecx
mov ecx, 0x19
rep movsd dword es:[edi], dword [esi]
mov edx, dword [esp + 0x12c]
mov ecx, dword [esp + 0x128]
mov edi, dword [esp + 0x130]
mov ebp, dword [esp + 0x124]
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x3d4]
mov dword [esp + 0x14], ecx
mov dword [esp + 4], edi
mov esi, dword [edx + 0x300]
test esi, esi
je 0x47a513
cmp esi, 6
ja 0x47a8ba
mov ecx, esi
mov edi, esi
mov esi, dword [esp + 0x18]
shl ecx, 7
cmp dword [ecx + edx - 0x80], 2
je 0x47a8ba
lea ecx, [ecx + edx - 0x80]
jmp 0x47a51f
mov edi, esi
mov ecx, dword [edx + 0x304]
mov esi, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
shl eax, 0x10
or esi, eax
mov dword [esp + 0x18], esi
cmp edx, dword [ecx + 0x64]
jne 0x47a542
push edx
push dword [ecx + 0x60]
push ebp
call fcn.004f60f4
add esp, 0xc
test eax, eax
je 0x47a5a1
mov dword [esp + 8], 0x360000
mov dword [esp + 0x28], 0
and ebx, 0xff000000
add ebx, dword [esp + 8]
or ebx, dword [esp + 0x28]
cmp dword [esp + 0x40], 0
je 0x47a574
mov ebp, dword [esp + 0x10]
mov esi, dword [esp + 0x24]
jmp 0x47a6f1
mov eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x10]
mov esi, dword [esp + 0x24]
shl eax, 8
or eax, dword [esp + 0x48]
je 0x47a6f1
push 1
push eax
push dword [esp + 0x40]
call fcn.0040dc90
add esp, 0xc
jmp 0x47a6f1
mov edx, dword [esp + 0x3d4]
test edi, edi
mov dword [esp + 8], 0x360000
mov dword [esp + 0x28], 0
mov dword [esp + 0x3c], ebp
je 0x47a5d0
mov eax, edi
shl eax, 7
cmp dword [eax + edx - 0x80], 2
je 0x47a8ba
mov eax, dword [edx + 0x304]
mov ebp, edi
mov dword [esp + 0x34], edi
mov dword [esp], eax
mov edi, ebp
test ebp, ebp
je 0x47a62b
lea ebp, [edi - 1]
mov esi, ebp
shl esi, 7
cmp dword [edx + esi], 2
je 0x47a8ba
mov eax, dword [esp + 4]
add esi, edx
cmp eax, dword [esi + 0x7c]
jne 0x47a5df
push dword [esp + 4]
push dword [esi + 0x78]
push dword [esp + 0x34]
call fcn.004f60f4
mov edx, dword [esp + 0x3e0]
add esp, 0xc
test eax, eax
jne 0x47a5df
mov eax, dword [esp + 0x14]
cmp eax, dword [esi + 0x74]
jne 0x47a5df
jmp 0x47a667
mov eax, dword [esp + 4]
mov ecx, dword [esp]
cmp eax, dword [ecx + 0x7c]
jne 0x47a695
push dword [esp + 4]
mov eax, dword [esp + 4]
push dword [eax + 0x78]
push dword [esp + 0x34]
call fcn.004f60f4
mov edx, dword [esp + 0x3e0]
add esp, 0xc
test eax, eax
jne 0x47a695
mov eax, dword [esp + 0x14]
mov esi, dword [esp]
xor ebp, ebp
cmp eax, dword [esi + 0x74]
jne 0x47a695
push dword [esp + 0x14]
push dword [esi + 0x70]
push dword [esp + 0x44]
call fcn.004f60f4
mov edx, dword [esp + 0x3e0]
add esp, 0xc
test edi, edi
je 0x47a68d
test eax, eax
jne 0x47a5df
test eax, eax
je 0x47a552
mov ecx, dword [esp + 0x3ec]
mov eax, dword [ecx + 4]
test eax, eax
je 0x47a732
mov edi, dword [esp + 0x18]
dec eax
mov esi, dword [esp + 0x24]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x34]
shl edi, 8
add edi, dword [esp + 0x48]
cmp eax, 6
jb 0x47a747
cmp dword [esp + 0x40], 0
mov ebp, dword [esp + 0x10]
jne 0x47a6e5
test edi, edi
je 0x47a6e5
push 1
push edi
push dword [esp + 0x40]
call fcn.0040dc90
add esp, 0xc
and ebx, 0xff000000
or ebx, 0x2f0000
mov edi, dword [esp + 0xc]
or ebx, 1
test bl, bl
je 0x47a86b
test ebx, 0xff00
jne 0x47a8ab
movzx ecx, byte [esp + 0x1c]
mov eax, ebx
add edi, 0x10
shr eax, 0x10
push eax
push ecx
call fcn.0047abc0
mov ecx, edi
add esp, 8
cmp edi, esi
jne 0x47a406
jmp 0x47a87b
mov dword [esp + 0x28], 0x100
mov dword [esp + 8], 0x2e0000
jmp 0x47a552
shl eax, 7
mov ebp, dword [esp + 0x10]
cmp dword [edx + eax], 0
lea ebx, [edx + eax]
jne 0x47a773
mov eax, dword [ebx + 4]
test eax, eax
je 0x47a773
push 1
push eax
push dword [ebx + 8]
call fcn.0040dc90
mov edx, dword [esp + 0x3e0]
add esp, 0xc
mov eax, dword [esp + 0x40]
mov ecx, 0x19
lea esi, [esp + 0x50]
mov dword [ebx], eax
mov eax, dword [esp + 0x38]
mov dword [ebx + 4], edi
lea edi, [ebx + 0xc]
mov dword [ebx + 8], eax
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x2c]
mov dword [ebx + 0x70], eax
mov dword [ebx + 0x74], ecx
mov ecx, dword [esp + 4]
mov dword [ebx + 0x78], esi
mov dword [ebx + 0x7c], ecx
inc dword [edx + 0x300]
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0xb4]
push dword [esp + 0x3ec]
mov edi, dword [esp + 0x50]
push edi
push dword [esp + 0x3ec]
push dword [esp + 0x3ec]
push dword [esp + 0x3ec]
push dword [esp + 0x3ec]
push dword [esp + 0x3ec]
call fcn.00479c70
mov edx, dword [esp + 0x3f0]
add esp, 0x1c
cmp byte [esp + 0xb4], 0
je 0x47a849
mov ecx, dword [edx + 0x300]
test ecx, ecx
je 0x47a849
lea eax, [ecx - 1]
cmp ecx, 6
mov dword [edx + 0x300], eax
ja 0x47a8ba
shl eax, 7
cmp dword [edx + eax], 0
lea esi, [edx + eax]
jne 0x47a843
mov eax, dword [esi + 4]
test eax, eax
je 0x47a843
push 1
push eax
push dword [esi + 8]
call fcn.0040dc90
add esp, 0xc
mov dword [esi], 2
mov eax, dword [esp + 0xb8]
mov ebx, dword [esp + 0xb4]
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0xc]
mov dword [esp + 0x30], eax
test bl, bl
jne 0x47a700
mov eax, dword [esp + 0x30]
mov dword [ebp + 4], eax
mov byte [ebp], 0
jmp 0x479dbb
mov ebx, eax
add al, 0xd3
mov edx, 0x1000101
movzx ecx, al
cmp bl, 0x1a
mov eax, 8
cmovae eax, ecx
mov ecx, eax
shl ecx, 3
shr edx, cl
xor ecx, ecx
cmp al, 4
cmovb ecx, edx
mov byte [ebp + 1], cl
mov byte [ebp + 2], bl
jmp 0x479db7
mov eax, dword [esp + 0x30]
mov dword [ebp], ebx
mov dword [ebp + 4], eax
jmp 0x479dbb
ud2