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

Disassembly:
push 0xffffffffffffffff
push 0x4fdf94
mov eax, dword fs:[0]
push eax
mov eax, 0x3098
call fcn.004e6b50
mov eax, dword [0x519bc0]
xor eax, esp
mov dword [esp + 0x3094], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x519bc0]
xor eax, esp
push eax
lea eax, [esp + 0x30ac]
mov dword fs:[0], eax
mov esi, dword [esp + 0x30bc]
cmp byte [esi + 0xc20e], 0
mov eax, dword [esp + 0x30c0]
mov ecx, dword [esp + 0x30c4]
mov ebx, dword [esp + 0x30c8]
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ecx
jne 0x478540
mov edi, dword [esi + 0x6574]
mov byte [esi + 0xc20e], 1
test eax, eax
je 0x477dbd
test ecx, ecx
je 0x477dbd
test ebx, ebx
je 0x477dbd
mov ecx, dword [eax + 0x1054]
cmp ecx, dword [ebx + 0x2214]
jg 0x477d2a
jl 0x477d23
mov edx, dword [eax + 0x1050]
cmp edx, dword [ebx + 0x2210]
jae 0x477d2a
mov byte [eax + 0x108a], 1
cmp byte [eax + 0x1089], 0
mov ecx, dword [ebx + 0x2218]
mov dword [eax + 0x1048], ecx
mov edx, dword [ebx + 0x221c]
mov dword [eax + 0x104c], edx
je 0x477d52
mov byte [eax + 0x1088], 1
mov ebp, eax
mov byte [ebp + 0x1089], 1
add ebp, 0x1060
lea ecx, [ebx + 0x2258]
push ebp
mov dword [esp + 0x24], ecx
call fcn.00447c60
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 4]
mov edx, dword [esi]
mov eax, dword [eax]
mov edx, dword [edx + 0xc]
push 0
push ecx
push eax
mov ecx, esi
call edx
mov eax, dword [esp + 0x24]
push 0
push 0
push eax
mov eax, dword [eax + 4]
push eax
mov ecx, esi
call fcn.0042de00
xor eax, eax
mov dword [ebx + 0x2218], eax
mov dword [ebx + 0x221c], eax
mov ecx, dword [edi + 0x83b8]
mov edx, dword [ebp]
push ecx
mov ecx, dword [esp + 0x24]
push edx
call fcn.00447a30
xor eax, eax
mov byte [esp + 0x17], 0
mov word [esp + 0x20a8], ax
cmp byte [esi + 0xc1ed], al
jne 0x477ec1
mov byte [esi + 0xc1ed], 1
mov byte [esi + 0xc1f1], 1
cmp byte [edi + 0x61a4], al
je 0x477e15
mov byte [esi + 0xc1f2], al
lea eax, [esi + 0x1e]
mov ecx, esi
sub ecx, eax
lea edx, [ecx + 0xc232]
movzx ecx, word [eax]
mov word [eax + edx], cx
add eax, 2
test cx, cx
jne 0x477e01
jmp 0x477ec8
mov byte [esi + 0xc1f2], 1
mov edx, dword [edi + 0x6168]
mov ecx, dword [edi + 0x616c]
xor ebp, ebp
mov dword [esp + 0x18], edx
cmp dword [edi + 0x6174], ebp
jbe 0x477e63
mov eax, dword [edi + 0x6170]
lea esp, [esp]
mov edx, dword [eax + 4]
cmp ecx, edx
mov ebx, dword [eax]
jl 0x477e57
jg 0x477e51
cmp dword [esp + 0x18], ebx
jbe 0x477e57
mov dword [esp + 0x18], ebx
mov ecx, edx
inc ebp
add eax, 8
cmp ebp, dword [edi + 0x6174]
jb 0x477e40
mov eax, dword [esi + 0xc228]
add eax, dword [esi + 0xc220]
mov edx, dword [esi + 0xc22c]
adc edx, dword [esi + 0xc224]
lea ebx, [esi + 0x1e]
push edx
push eax
mov eax, dword [esp + 0x20]
push ecx
push eax
lea ecx, [esp + 0x20b8]
push ecx
call fcn.00477460
lea eax, [esp + 0x20a8]
mov edx, esi
mov ecx, eax
sub edx, ecx
mov byte [esp + 0x17], 1
add edx, 0xc232
jmp 0x477eb0
movzx ecx, word [eax]
mov word [eax + edx], cx
add eax, 2
test cx, cx
jne 0x477eb0
jmp 0x477ec8
mov byte [esi + 0xc1f1], 0
mov eax, dword [esi + 0x7754]
add eax, dword [esi + 0x7700]
mov edx, dword [esi]
add eax, dword [esi + 0xc1f8]
mov edx, dword [edx + 0xc]
xor ebx, ebx
push ebx
push ebx
push eax
mov ecx, esi
call edx
push ebx
push ebx
push ebx
push 1
mov ecx, esi
call fcn.0042de00
mov ecx, esi
call fcn.00444810
push 0x2300
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], edx
call fcn.004e76fb
add esp, 4
mov dword [esp + 0x34], eax
mov dword [esp + 0x30b4], ebx
cmp eax, ebx
je 0x477f2e
mov ecx, eax
call fcn.0040cbe0
mov ebx, eax
mov dword [esp + 0x20], eax
jmp 0x477f32
mov dword [esp + 0x20], ebx
mov dword [esp + 0x30b4], 0xffffffff
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30b4], 1
lea ebp, [esi + 0x9ac0]
push ebp
mov ecx, ebx
call fcn.00447e90
cmp byte [esp + 0x17], 0
lea eax, [esp + 0x20a8]
jne 0x477f6b
lea eax, [esi + 0x1e]
push eax
push 1
mov ecx, esi
call fcn.0042ee70
push ebx
mov ecx, ebp
call fcn.00447e90
cmp byte [esp + 0x17], 0
je 0x478062
lea eax, [esp + 0x20a8]
push eax
call fcn.00445470
test al, al
je 0x477ff8
lea ecx, [esp + 0x84]
call fcn.00443e50
mov byte [esp + 0x30b4], 2
push 0
push 0
push SysReAllocString
push SysReAllocString
lea ecx, [esp + 0x27]
push ecx
push 0x800
lea edx, [esp + 0x20c0]
push edx
lea eax, [esp + 0xa0]
push eax
push edi
call fcn.00443d60
test al, al
sete bl
mov byte [esp + 0x30b4], 1
lea ecx, [esp + 0x84]
call fcn.004445b0
test bl, bl
jne 0x47800b
lea ecx, [esp + 0x20a8]
push ecx
mov ecx, esi
call fcn.00444230
test al, al
jne 0x478062
lea eax, [esi + 0x1e]
lea edx, [esp + 0x20a8]
lea ecx, [esp + 0x38]
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0xf
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], edx
mov dword [esp + 0x78], 3
call fcn.0046b580
mov ecx, 0x531158
call fcn.0043f4b0
mov ecx, esi
call fcn.00444200
push 9
mov ecx, 0x531158
call fcn.0043f340
lea ebx, [esi + 0x1e]
push ebx
push 0
mov ecx, 0x531168
call fcn.00448080
lea ecx, [esp + 0x38]
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0x89
mov dword [esp + 0x38], ebx
mov dword [esp + 0x78], 1
call fcn.0046b580
movzx ebp, word [edi + 0x63a4]
lea eax, [edi + 0x63a4]
test bp, bp
je 0x4780bf
xor ecx, ecx
cmp bp, 0x40
sete cl
dec ecx
and eax, ecx
push eax
push ebx
call fcn.00469fb0
mov eax, dword [esp + 0x24]
xor ebp, ebp
cmp eax, ebp
jne 0x4780cd
xor eax, eax
jmp 0x4780d2
add eax, 0x1030
push eax
mov ecx, esi
call fcn.0042b780
lea edx, [esp + 0x10a8]
mov byte [esi + 0xc1f3], 0
mov byte [esi + 0xc1f0], 0
mov byte [esi + 0xc1f1], 0
mov dword [esi + 0xc1f8], ebp
mov dword [esi + 0x7728], ebp
mov dword [esi + 0x772c], ebp
mov dword [esi + 0x7738], ebp
mov dword [esi + 0x773c], ebp
mov eax, ebx
sub edx, ebx
jmp 0x478120
movzx ecx, word [eax]
mov word [eax + edx], cx
add eax, 2
cmp cx, bp
jne 0x478120
movzx edx, byte [edi + 0x61a4]
push edx
push 0x800
lea eax, [esp + 0x10b0]
push eax
call fcn.00453a30
movzx edx, byte [esi + 0xc1ec]
push ebp
lea ecx, [esp + 0x10ac]
push ecx
push edx
push 1
call fcn.0046b180
mov ecx, dword [edi + 0x6174]
mov eax, dword [esi + 0xc210]
cmp eax, ecx
jae 0x47818a
mov ecx, dword [edi + 0x6170]
mov edx, dword [ecx + eax*8]
mov dword [edi + 0x6168], edx
mov eax, dword [ecx + eax*8 + 4]
mov dword [edi + 0x616c], eax
inc dword [esi + 0xc210]
lea ecx, [esp + 0x10a8]
push ecx
xor bl, bl
call fcn.00444c70
test al, al
je 0x4781d9
mov eax, SysReAllocString
cmp dword [edi + 0x6168], eax
jne 0x4781b8
cmp dword [edi + 0x616c], eax
je 0x4781d9
lea edx, [esp + 0x10a8]
push edx
call fcn.00444d00
cmp edx, dword [edi + 0x616c]
jg 0x4781d9
jl 0x4781d7
cmp eax, dword [edi + 0x6168]
jae 0x4781d9
mov bl, 1
cmp byte [edi + 0x6184], 0
jne 0x478237
cmp byte [edi + 0x62e2], 0
jne 0x4781ef
test bl, bl
je 0x478237
lea eax, [edi + 0x6168]
push eax
lea ecx, [esp + 0x1b]
push ecx
push 0x800
lea edx, [esp + 0x10b4]
push edx
call fcn.0046b380
test al, al
jne 0x478220
push 0xff
mov ecx, 0x531158
call fcn.0043f340
cmp byte [esp + 0x17], 0
je 0x478237
cmp byte [edi + 0x61a0], 0
jne 0x478240
mov byte [edi + 0x62e2], 0
cmp byte [edi + 0x61a0], 0
je 0x478250
lea eax, [esp + 0x10a8]
push eax
call fcn.00445a70
lea ecx, [ecx]
lea ecx, [esp + 0x10a8]
push ecx
call fcn.00444d00
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edx
test edx, edx
jl 0x4782e0
jg 0x478272
cmp eax, 0x2710
jb 0x4782e0
mov ebx, dword [edi + 0x6168]
mov ebp, dword [edi + 0x616c]
cmp ebx, 0x7fffffff
jne 0x47828a
cmp ebp, ebx
je 0x4782a3
push 0
push 0x64
push ebp
push ebx
call fcn.004e9e30
cmp edx, dword [esp + 0x1c]
jg 0x4782e0
jl 0x4782a3
cmp eax, dword [esp + 0x18]
ja 0x4782e0
cmp ebx, 0x7fffffff
jne 0x478370
cmp ebp, ebx
jne 0x478370
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
push 0
push 0x64
push edx
push eax
call fcn.004e9e30
cmp edx, dword [esp + 0x1c]
jl 0x478370
jg 0x4782e0
cmp eax, dword [esp + 0x18]
jbe 0x478370
push 2
call fcn.0046b330
xor eax, eax
lea ecx, [esp + 0x38]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], 0x76
call fcn.0046b580
cmp byte [edi + 0x6184], 0
jne 0x478330
lea ecx, [edi + 0x6168]
push ecx
lea edx, [esp + 0x1b]
push edx
push 0x800
lea eax, [esp + 0x10b4]
push eax
call fcn.0046b380
test al, al
jne 0x47833f
push 0xff
mov ecx, 0x531158
call fcn.0043f340
cmp byte [esp + 0x17], 0
je 0x478356
cmp byte [edi + 0x61a0], 0
jne 0x478363
mov byte [edi + 0x62e2], 0
cmp byte [edi + 0x61a0], 0
je 0x478250
lea ecx, [esp + 0x10a8]
push ecx
jmp 0x478248
xor ebp, ebp
push ebp
push ebp
push SysReAllocString
push SysReAllocString
push ebp
push 0x800
lea edx, [esp + 0x10c0]
push edx
push esi
push edi
call fcn.00443d60
test al, al
jne 0x478450
mov ebx, 0x77
lea eax, [esi + 0x1e]
lea ecx, [esp + 0x38]
mov dword [esp + 0x7c], ebp
mov dword [esp + 0x80], ebx
mov dword [esp + 0x38], eax
mov dword [esp + 0x78], 1
call fcn.0046b580
cmp byte [edi + 0x6184], 0
jne 0x4783ee
lea eax, [edi + 0x6168]
push eax
lea eax, [esp + 0x1b]
push eax
push 0x800
lea ecx, [esp + 0x10b4]
push ecx
call fcn.0046b380
test al, al
jne 0x4783fa
push 9
mov ecx, 0x531158
call fcn.0043f340
cmp byte [esp + 0x17], 0
je 0x478411
cmp byte [edi + 0x61a0], 0
jne 0x47841a
mov byte [edi + 0x62e2], 0
cmp byte [edi + 0x61a0], 0
je 0x478427
lea edx, [esp + 0x10a8]
push edx
call fcn.00445a70
push ebp
push ebp
push SysReAllocString
push SysReAllocString
push ebp
push 0x800
lea eax, [esp + 0x10c0]
push eax
push esi
push edi
call fcn.00443d60
test al, al
je 0x4783a0
push ebp
push ebp
push ebp
push ebp
mov ecx, esi
call fcn.0042de00
cmp byte [esi + 0xc1f4], 0
je 0x478479
cmp dword [esi + 0xc1e8], 3
jne 0x478479
push ebp
push ebp
push ebp
push 4
mov ecx, esi
call fcn.0042de00
push ebp
push ebp
push ebp
push 1
mov ecx, esi
call fcn.0042de00
mov ecx, dword [edi + 0x616c]
mov edx, dword [edi + 0x6168]
push ecx
push edx
push esi
call fcn.00477690
mov ebx, dword [esp + 0x28]
cmp ebx, ebp
je 0x4784af
mov eax, dword [esi]
mov edx, dword [eax + 0x10]
mov ecx, esi
call edx
mov dword [ebx], eax
mov dword [ebx + 4], edx
mov ebx, dword [esp + 0x24]
cmp ebx, ebp
je 0x478516
mov eax, dword [ebx + 0xc]
push eax
mov ecx, esi
mov dword [ebx + 0x1048], ebp
mov dword [ebx + 0x104c], ebp
mov byte [ebx + 0x1089], 0
mov byte [ebx + 0x1088], 1
call fcn.0042b8a0
cmp byte [esi + 0x7726], 0
je 0x478507
cmp dword [edi + 0x2010], ebp
je 0x478507
mov ecx, dword [ebx + 0xc]
push ecx
mov ecx, esi
call fcn.0042b280
add eax, 0x10
sub dword [esi + 0xc218], eax
sbb dword [esi + 0xc21c], ebp
mov edx, dword [ebx + 4]
push 1
push ebp
push ebx
push edx
mov ecx, esi
call fcn.0042de00
mov byte [esi + 0xc20e], 0
mov dword [esp + 0x30b4], 0xffffffff
mov esi, dword [esp + 0x20]
cmp esi, ebp
je 0x478540
mov ecx, esi
call fcn.0040caf0
push esi
call fcn.004e730a
add esp, 4
mov ecx, dword [esp + 0x30ac]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x3094]
xor ecx, esp
call fcn.004e6b3a
add esp, 0x30a4
ret 0x10