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

Disassembly:
push 0xffffffffffffffff
push 0x4fdf74
mov eax, dword fs:[0]
push eax
mov eax, 0x3098
call fcn.004e6a80
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 0x4783e0
mov edi, dword [esi + 0x6574]
mov byte [esi + 0xc20e], 1
test eax, eax
je 0x477c5d
test ecx, ecx
je 0x477c5d
test ebx, ebx
je 0x477c5d
mov ecx, dword [eax + 0x1054]
cmp ecx, dword [ebx + 0x2214]
jg 0x477bca
jl 0x477bc3
mov edx, dword [eax + 0x1050]
cmp edx, dword [ebx + 0x2210]
jae 0x477bca
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 0x477bf2
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.00447cf0
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.0042def0
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.00447ac0
xor eax, eax
mov byte [esp + 0x17], 0
mov word [esp + 0x20a8], ax
cmp byte [esi + 0xc1ed], al
jne 0x477d61
mov byte [esi + 0xc1ed], 1
mov byte [esi + 0xc1f1], 1
cmp byte [edi + 0x61a4], al
je 0x477cb5
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 0x477ca1
jmp 0x477d68
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 0x477d03
mov eax, dword [edi + 0x6170]
lea esp, [esp]
mov edx, dword [eax + 4]
cmp ecx, edx
mov ebx, dword [eax]
jl 0x477cf7
jg 0x477cf1
cmp dword [esp + 0x18], ebx
jbe 0x477cf7
mov dword [esp + 0x18], ebx
mov ecx, edx
inc ebp
add eax, 8
cmp ebp, dword [edi + 0x6174]
jb 0x477ce0
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.00477300
lea eax, [esp + 0x20a8]
mov edx, esi
mov ecx, eax
sub edx, ecx
mov byte [esp + 0x17], 1
add edx, 0xc232
jmp 0x477d50
movzx ecx, word [eax]
mov word [eax + edx], cx
add eax, 2
test cx, cx
jne 0x477d50
jmp 0x477d68
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.0042def0
mov ecx, esi
call fcn.004448a0
push 0x2300
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], edx
call fcn.004e7da8
add esp, 4
mov dword [esp + 0x34], eax
mov dword [esp + 0x30b4], ebx
cmp eax, ebx
je 0x477dce
mov ecx, eax
call fcn.0040dda0
mov ebx, eax
mov dword [esp + 0x20], eax
jmp 0x477dd2
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.00447f20
cmp byte [esp + 0x17], 0
lea eax, [esp + 0x20a8]
jne 0x477e0b
lea eax, [esi + 0x1e]
push eax
push 1
mov ecx, esi
call fcn.0042ef60
push ebx
mov ecx, ebp
call fcn.00447f20
cmp byte [esp + 0x17], 0
je 0x477f02
lea eax, [esp + 0x20a8]
push eax
call fcn.00445500
test al, al
je 0x477e98
lea ecx, [esp + 0x84]
call fcn.00443ed0
mov byte [esp + 0x30b4], 2
push 0
push 0
push 0x7fffffff
push 0x7fffffff
lea ecx, [esp + 0x27]
push ecx
push 0x800
lea edx, [esp + 0x20c0]
push edx
lea eax, [esp + 0xa0]
push eax
push edi
call fcn.00443de0
test al, al
sete bl
mov byte [esp + 0x30b4], 1
lea ecx, [esp + 0x84]
call fcn.00444640
test bl, bl
jne 0x477eab
lea ecx, [esp + 0x20a8]
push ecx
mov ecx, esi
call fcn.004442c0
test al, al
jne 0x477f02
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.0046b420
mov ecx, 0x531158
call fcn.0043f530
mov ecx, esi
call fcn.00444290
push 9
mov ecx, 0x531158
call fcn.0043f3c0
lea ebx, [esi + 0x1e]
push ebx
push 0
mov ecx, 0x531168
call fcn.00448110
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.0046b420
movzx ebp, word [edi + 0x63a4]
lea eax, [edi + 0x63a4]
test bp, bp
je 0x477f5f
xor ecx, ecx
cmp bp, 0x40
sete cl
dec ecx
and eax, ecx
push eax
push ebx
call fcn.00469ea0
mov eax, dword [esp + 0x24]
xor ebp, ebp
cmp eax, ebp
jne 0x477f6d
xor eax, eax
jmp 0x477f72
add eax, 0x1030
push eax
mov ecx, esi
call fcn.0042b870
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 0x477fc0
movzx ecx, word [eax]
mov word [eax + edx], cx
add eax, 2
cmp cx, bp
jne 0x477fc0
movzx edx, byte [edi + 0x61a4]
push edx
push 0x800
lea eax, [esp + 0x10b0]
push eax
call fcn.00453ac0
movzx edx, byte [esi + 0xc1ec]
push ebp
lea ecx, [esp + 0x10ac]
push ecx
push edx
push 1
call fcn.0046b020
mov ecx, dword [edi + 0x6174]
mov eax, dword [esi + 0xc210]
cmp eax, ecx
jae 0x47802a
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.00444d00
test al, al
je 0x478079
mov eax, 0x7fffffff
cmp dword [edi + 0x6168], eax
jne 0x478058
cmp dword [edi + 0x616c], eax
je 0x478079
lea edx, [esp + 0x10a8]
push edx
call fcn.00444d90
cmp edx, dword [edi + 0x616c]
jg 0x478079
jl 0x478077
cmp eax, dword [edi + 0x6168]
jae 0x478079
mov bl, 1
cmp byte [edi + 0x6184], 0
jne 0x4780d7
cmp byte [edi + 0x62e2], 0
jne 0x47808f
test bl, bl
je 0x4780d7
lea eax, [edi + 0x6168]
push eax
lea ecx, [esp + 0x1b]
push ecx
push 0x800
lea edx, [esp + 0x10b4]
push edx
call fcn.0046b220
test al, al
jne 0x4780c0
push 0xff
mov ecx, 0x531158
call fcn.0043f3c0
cmp byte [esp + 0x17], 0
je 0x4780d7
cmp byte [edi + 0x61a0], 0
jne 0x4780e0
mov byte [edi + 0x62e2], 0
cmp byte [edi + 0x61a0], 0
je 0x4780f0
lea eax, [esp + 0x10a8]
push eax
call fcn.00445b00
lea ecx, [ecx]
lea ecx, [esp + 0x10a8]
push ecx
call fcn.00444d90
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edx
test edx, edx
jl 0x478180
jg 0x478112
cmp eax, 0x2710
jb 0x478180
mov ebx, dword [edi + 0x6168]
mov ebp, dword [edi + 0x616c]
cmp ebx, 0x7fffffff
jne 0x47812a
cmp ebp, ebx
je 0x478143
push 0
push 0x64
push ebp
push ebx
call fcn.004e9de0
cmp edx, dword [esp + 0x1c]
jg 0x478180
jl 0x478143
cmp eax, dword [esp + 0x18]
ja 0x478180
cmp ebx, 0x7fffffff
jne 0x478210
cmp ebp, ebx
jne 0x478210
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
push 0
push 0x64
push edx
push eax
call fcn.004e9de0
cmp edx, dword [esp + 0x1c]
jl 0x478210
jg 0x478180
cmp eax, dword [esp + 0x18]
jbe 0x478210
push 2
call fcn.0046b1d0
xor eax, eax
lea ecx, [esp + 0x38]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], 0x76
call fcn.0046b420
cmp byte [edi + 0x6184], 0
jne 0x4781d0
lea ecx, [edi + 0x6168]
push ecx
lea edx, [esp + 0x1b]
push edx
push 0x800
lea eax, [esp + 0x10b4]
push eax
call fcn.0046b220
test al, al
jne 0x4781df
push 0xff
mov ecx, 0x531158
call fcn.0043f3c0
cmp byte [esp + 0x17], 0
je 0x4781f6
cmp byte [edi + 0x61a0], 0
jne 0x478203
mov byte [edi + 0x62e2], 0
cmp byte [edi + 0x61a0], 0
je 0x4780f0
lea ecx, [esp + 0x10a8]
push ecx
jmp 0x4780e8
xor ebp, ebp
push ebp
push ebp
push 0x7fffffff
push 0x7fffffff
push ebp
push 0x800
lea edx, [esp + 0x10c0]
push edx
push esi
push edi
call fcn.00443de0
test al, al
jne 0x4782f0
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.0046b420
cmp byte [edi + 0x6184], 0
jne 0x47828e
lea eax, [edi + 0x6168]
push eax
lea eax, [esp + 0x1b]
push eax
push 0x800
lea ecx, [esp + 0x10b4]
push ecx
call fcn.0046b220
test al, al
jne 0x47829a
push 9
mov ecx, 0x531158
call fcn.0043f3c0
cmp byte [esp + 0x17], 0
je 0x4782b1
cmp byte [edi + 0x61a0], 0
jne 0x4782ba
mov byte [edi + 0x62e2], 0
cmp byte [edi + 0x61a0], 0
je 0x4782c7
lea edx, [esp + 0x10a8]
push edx
call fcn.00445b00
push ebp
push ebp
push 0x7fffffff
push 0x7fffffff
push ebp
push 0x800
lea eax, [esp + 0x10c0]
push eax
push esi
push edi
call fcn.00443de0
test al, al
je 0x478240
push ebp
push ebp
push ebp
push ebp
mov ecx, esi
call fcn.0042def0
cmp byte [esi + 0xc1f4], 0
je 0x478319
cmp dword [esi + 0xc1e8], 3
jne 0x478319
push ebp
push ebp
push ebp
push 4
mov ecx, esi
call fcn.0042def0
push ebp
push ebp
push ebp
push 1
mov ecx, esi
call fcn.0042def0
mov ecx, dword [edi + 0x616c]
mov edx, dword [edi + 0x6168]
push ecx
push edx
push esi
call fcn.00477530
mov ebx, dword [esp + 0x28]
cmp ebx, ebp
je 0x47834f
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 0x4783b6
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.0042b990
cmp byte [esi + 0x7726], 0
je 0x4783a7
cmp dword [edi + 0x2010], ebp
je 0x4783a7
mov ecx, dword [ebx + 0xc]
push ecx
mov ecx, esi
call fcn.0042b390
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.0042def0
mov byte [esi + 0xc20e], 0
mov dword [esp + 0x30b4], 0xffffffff
mov esi, dword [esp + 0x20]
cmp esi, ebp
je 0x4783e0
mov ecx, esi
call fcn.0040dc50
push esi
call fcn.004e6cc6
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.004e6a64
add esp, 0x30a4
ret 0x10