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

Disassembly:
sub esp, 0x4c
xor eax, eax
push ebx
mov ebx, dword [esp + 0x54]
mov ecx, dword [ebx]
push esi
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x64]
push edi
mov edi, dword [ebx + 8]
mov dword [esp + 0x18], edi
mov byte [esp + 0xf], 0
mov dword [esp + 0x10], ecx
test eax, eax
je 0x477209
cmp dword [eax], 0x40
jl 0x477209
xor eax, eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x48], eax
test byte [ecx + 0x44], 0x10
je 0x47721b
and dword [esp + 0x70], 0xfeff
mov eax, dword [esp + 0x60]
mov edx, dword [eax]
cmp edx, 0x40
jle 0x477240
push 0x40
push str.at_most__d_tables_in_a_join
mov esi, ebx
call fcn.0043dbb0
add esp, 8
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x4c
ret
mov eax, dword [esp + 0x70]
and eax, 0x20
mov dword [esp + 0x24], eax
mov dword [esp + 0x14], 1
jne 0x477259
mov dword [esp + 0x14], edx
mov esi, dword [esp + 0x14]
lea esi, [esi + esi*4]
shl esi, 4
lea eax, [esi + 0x2f7]
and eax, 0xfffffff8
push ebp
mov dword [esp + 0x2c], eax
add eax, 0x48
push 0
push eax
mov eax, ecx
call fcn.00429db0
mov ecx, dword [esp + 0x1c]
add esp, 8
cmp byte [ecx + 0x49], 0
mov ebp, eax
je 0x47729c
call fcn.0041ca60
pop ebp
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x4c
ret
mov eax, dword [esp + 0x68]
mov edx, dword [esp + 0x6c]
mov ecx, dword [esp + 0x64]
mov dword [ebp + 0x10], eax
or eax, 0xffffffff
mov dword [ebp + 4], ecx
mov ecx, dword [esp + 0x70]
mov dword [ebp + 8], edx
mov dl, byte [esp + 0x18]
mov dword [ebp + 0x1c], eax
mov dword [ebp + 0x18], eax
mov eax, edi
mov dword [ebp], ebx
mov dword [ebp + 0xc], ecx
mov byte [ebp + 0x2e], dl
call fcn.00432970
mov cx, word [esp + 0x78]
mov dword [ebp + 0x20], eax
mov dword [ebp + 0x24], eax
mov ax, word [esp + 0x74]
mov word [ebp + 0x2c], ax
mov word [ebp + 0x14], cx
mov edx, dword [ebx + 0x84]
xor eax, eax
mov dword [ebp + 0x28], edx
mov dword [ebp + 0x2f], eax
mov dword [ebp + 0x33], eax
mov dword [ebp + 0x37], eax
mov dword [ebp + 0x3b], eax
mov dword [ebp + 0x3f], eax
mov dword [ebp + 0x43], eax
mov dword [ebp + 0x47], eax
mov dword [ebp + 0x4b], eax
add esi, 0x48
push esi
mov byte [ebp + 0x4f], al
lea eax, [ebp + 0x2f0]
push 0
push eax
call fcn.00494780
mov eax, dword [esp + 0x38]
mov dword [esp + 0x50], ebp
add eax, ebp
mov dword [esp + 0x5c], eax
lea esi, [ebp + 0x50]
mov dword [esp + 0x54], esi
lea ecx, [eax + 0x38]
mov dword [eax + 0x30], ecx
mov ecx, 3
mov word [eax + 0x2c], cx
xor ecx, ecx
mov dword [eax + 0x24], ecx
xor edx, edx
mov word [eax + 0x28], dx
mov eax, dword [esp + 0x74]
mov dword [ebp + 0x1ec], ecx
push 0x2c
push eax
lea edi, [ebp + 0x1e8]
lea edx, [esi + 0x18]
push esi
mov dword [esi], ebp
mov dword [esi + 4], ecx
mov dword [esi + 0xc], ecx
mov dword [esi + 0x10], 8
mov dword [esi + 0x14], edx
call fcn.00430650
add esp, 0x18
cmp dword [esp + 0x18], 0
jne 0x4773b6
mov eax, dword [esp + 0x6c]
test eax, eax
je 0x477396
mov cl, byte [eax]
mov byte [ebp + 0x2f], cl
test dword [esp + 0x74], 0x100
je 0x4773a4
mov byte [ebp + 0x33], 1
push str.SCAN_CONSTANT_ROW
push 0
push ebx
call fcn.0043f630
add esp, 0xc
jmp 0x477403
mov edx, dword [esp + 0x64]
add edx, 8
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], edx
lea esp, [esp]
mov eax, dword [esp + 0x24]
mov edx, dword [eax + 0x2c]
mov ecx, dword [edi + 4]
push esi
push eax
mov dword [edi + ecx*4 + 8], edx
inc dword [edi + 4]
mov eax, ebx
call fcn.00449560
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x6c]
add dword [esp + 0x2c], 0x48
inc eax
add esp, 8
cmp eax, dword [ecx]
mov dword [esp + 0x20], eax
jl 0x4773d0
mov ebx, dword [esi + 0xc]
sub ebx, 1
js 0x477424
jmp 0x477410
mov edx, dword [esp + 0x64]
push ebx
push esi
push edx
call fcn.00455ff0
add esp, 0xc
sub ebx, 1
jns 0x477410
mov eax, dword [esp + 0x14]
cmp byte [eax + 0x49], 0
jne 0x477bc3
mov eax, dword [esp + 0x48]
xor ebx, ebx
cmp dword [eax + 0xc], ebx
jle 0x477491
mov dword [esp + 0x24], ebx
mov esi, dword [eax + 0x14]
add esi, dword [esp + 0x24]
test byte [esi + 0xa], 2
jne 0x477482
mov ecx, dword [esi + 0x28]
or ecx, dword [esi + 0x2c]
jne 0x477482
cmp dword [esp + 0x18], ecx
je 0x477467
mov ecx, dword [esi]
call fcn.00430fb0
test eax, eax
je 0x477482
mov edx, dword [ebp + 0x24]
mov eax, dword [esi]
mov ecx, dword [esp + 0x60]
push 0x10
push edx
push eax
push ecx
call fcn.0047e150
add esp, 0x10
or word [esi + 0xa], 4
mov eax, dword [esp + 0x48]
add dword [esp + 0x24], 0x30
inc ebx
cmp ebx, dword [eax + 0xc]
jl 0x477441
mov ebx, dword [esp + 0x74]
mov esi, dword [esp + 0x70]
mov eax, ebx
and eax, 0x100
mov dword [esp + 0x2c], eax
je 0x4774d9
mov edx, dword [esp + 0x60]
push esi
lea eax, [ebp + 0x50]
push eax
mov eax, dword [esp + 0x6c]
push edx
call fcn.00456f20
add esp, 0xc
test eax, eax
je 0x4774c6
mov byte [ebp + 0x33], 1
jmp 0x4774d9
cmp dword [esp + 0x6c], 0
jne 0x4774d9
mov eax, 0x80
or word [ebp + 0x2c], ax
mov dword [ebp + 8], esi
cmp dword [esp + 0x18], 1
jne 0x4774ed
lea ecx, [esp + 0x44]
call fcn.00459810
test eax, eax
jne 0x477541
lea ecx, [esp + 0x44]
push ecx
call fcn.004583b0
add esp, 4
test eax, eax
jne 0x477bc3
push eax
push ebp
call fcn.00458e70
mov edx, dword [esp + 0x1c]
add esp, 8
cmp byte [edx + 0x49], 0
jne 0x477bc3
cmp dword [ebp + 8], 0
je 0x477547
mov ax, word [ebp + 0x48]
inc ax
movzx ecx, ax
push ecx
push ebp
call fcn.00458e70
mov edx, dword [esp + 0x1c]
add esp, 8
cmp byte [edx + 0x49], 0
jne 0x477bc3
cmp dword [ebp + 8], 0
jne 0x47755f
mov eax, dword [esp + 0x14]
test dword [eax + 0x1c], 0x1000
je 0x47755f
or eax, 0xffffffff
mov dword [ebp + 0x40], eax
mov dword [ebp + 0x44], eax
jmp 0x477562
or eax, 0xffffffff
mov ecx, dword [esp + 0x60]
cmp dword [ecx + 0x24], 0
jne 0x477bc3
mov edx, dword [esp + 0x14]
cmp byte [edx + 0x49], 0
jne 0x477bc3
cmp byte [ebp + 0x2e], 2
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
jb 0x477729
test esi, esi
je 0x477729
mov eax, 0x100
mov ecx, edx
test word [ecx + 0x44], ax
jne 0x477729
push esi
push edi
call fcn.00430930
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x54]
add esp, 8
mov dword [esp + 0x40], edx
test eax, eax
je 0x4775d5
push eax
push edi
call fcn.00430930
or dword [esp + 0x44], eax
add esp, 8
or dword [esp + 0x40], edx
movzx eax, byte [ebp + 0x2e]
dec eax
cmp eax, 1
mov dword [esp + 0x24], eax
jl 0x477729
lea edx, [eax + eax*4]
shl edx, 4
lea eax, [edx + ebp + 0x340]
mov dword [esp + 0x20], eax
jmp 0x477600
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx - 0x10]
movzx ecx, byte [eax + 0x10]
lea edx, [ecx + ecx*8]
mov ecx, dword [ebp + 4]
test byte [ecx + edx*8 + 0x2c], 8
lea ecx, [ecx + edx*8 + 8]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x30], ecx
je 0x47770e
cmp word [esp + 0x2c], 0
jne 0x47763d
test dword [eax + 0x24], 0x1000
je 0x47770e
mov edi, dword [eax + 0xc]
mov esi, dword [eax + 8]
mov eax, esi
and eax, dword [esp + 0x3c]
mov ecx, edi
and ecx, dword [esp + 0x40]
or eax, ecx
jne 0x47770e
mov eax, dword [esp + 0x48]
mov ebx, dword [eax + 0xc]
mov ecx, dword [eax + 0x14]
lea ebx, [ebx + ebx*2]
shl ebx, 4
add ebx, ecx
cmp ecx, ebx
jae 0x4776a0
lea ecx, [ecx]
mov eax, dword [ecx + 0x28]
mov edx, dword [ecx + 0x2c]
and eax, esi
and edx, edi
or eax, edx
je 0x477693
mov eax, dword [ecx]
test byte [eax + 4], 1
je 0x47769c
movsx edx, word [eax + 0x24]
mov eax, dword [esp + 0x30]
cmp edx, dword [eax + 0x2c]
jne 0x47769c
add ecx, 0x30
cmp ecx, ebx
jb 0x477670
jmp 0x4776a0
cmp ecx, ebx
jb 0x47770e
mov ecx, dword [esp + 0x48]
mov eax, dword [ecx + 0x14]
not esi
and dword [esp + 0x34], esi
not edi
and dword [esp + 0x38], edi
cmp eax, ebx
jae 0x4776db
mov esi, dword [esp + 0x6c]
mov edi, 4
mov ecx, dword [eax + 0x28]
mov edx, dword [eax + 0x2c]
and ecx, dword [esi + 8]
and edx, dword [esi + 0xc]
or ecx, edx
je 0x4776d4
or word [eax + 0xa], di
add eax, 0x30
cmp eax, ebx
jb 0x4776c0
movzx eax, byte [ebp + 0x2e]
mov ecx, dword [esp + 0x24]
lea edx, [eax - 1]
cmp ecx, edx
je 0x477707
sub eax, ecx
lea eax, [eax + eax*4]
shl eax, 4
sub eax, 0x50
push eax
mov eax, dword [esp + 0x24]
push eax
add eax, 0xffffffb0
push eax
call fcn.00498de0
add esp, 0xc
dec byte [ebp + 0x2e]
dec dword [esp + 0x18]
mov eax, dword [esp + 0x24]
sub dword [esp + 0x20], 0x50
dec eax
cmp eax, 1
mov dword [esp + 0x24], eax
jge 0x477600
mov ebx, dword [esp + 0x74]
movsx ecx, word [ebp + 0x48]
mov eax, dword [ebp]
add dword [eax + 0x84], ecx
test bl, 4
je 0x477794
mov esi, dword [ebp + 0x330]
mov ecx, dword [esi + 0x24]
mov eax, ecx
shr eax, 0xc
and eax, 1
jne 0x477768
test bl, 8
je 0x477794
test ecx, 0x400
jne 0x477794
test ecx, 0x2000
je 0x477768
test bl, 0x10
je 0x477794
test eax, eax
mov eax, dword [esp + 0x64]
sete dl
inc dl
mov byte [ebp + 0x31], dl
mov edx, dword [eax + 0x18]
test byte [edx + 0x24], 0x20
jne 0x477794
test cl, 0x40
je 0x477794
test bl, 8
je 0x47778e
mov byte [esp + 0x13], 8
and ecx, 0xffffffbf
mov dword [esi + 0x24], ecx
mov eax, dword [esp + 0x18]
test eax, eax
jle 0x477af6
lea ecx, [ebp + 0x330]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x2c], eax
mov edi, edi
mov esi, dword [esp + 0x20]
movzx eax, byte [esi - 0x14]
lea edx, [eax + eax*8]
mov eax, dword [esp + 0x64]
mov edi, dword [eax + edx*8 + 0x18]
lea ebx, [eax + edx*8 + 8]
mov eax, dword [edi + 0x48]
mov edx, 0xfff0bdc0
mov dword [esp + 0x24], edx
test eax, eax
je 0x4777fc
mov ecx, dword [esp + 0x14]
mov ecx, dword [ecx + 0x10]
xor edx, edx
add ecx, 0xc
mov dword [esp + 0x24], edx
cmp dword [ecx], eax
je 0x4777fc
jmp 0x4777f0
add ecx, 0x10
inc edx
cmp dword [ecx], eax
jne 0x4777f0
mov dword [esp + 0x24], edx
test byte [edi + 0x24], 2
mov eax, dword [esi]
mov dword [esp + 0x6c], eax
jne 0x4779c6
cmp dword [edi + 0xc], 0
jne 0x4779c6
mov eax, dword [eax + 0x24]
test eax, 0x400
je 0x4778a7
mov ecx, dword [esp + 0x14]
mov eax, edi
call fcn.004273d0
mov edx, dword [esp + 0x1c]
push 0
mov esi, eax
mov eax, dword [ebx + 0x2c]
push 0
push eax
push 0x9e
push edx
call fcn.00432730
mov ecx, dword [esp + 0x30]
mov edx, dword [ecx]
add esp, 0x14
cmp byte [edx + 0x49], 0
jne 0x4779c6
test eax, eax
jge 0x477868
mov eax, ecx
mov eax, dword [eax + 0x88]
dec eax
mov edx, dword [esp + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [edx + 0x58]
cmp byte [eax + ecx*4 + 1], 0
lea ecx, [eax + ecx*4]
je 0x477890
push esi
push edx
mov eax, 0xfffffff4
call fcn.0042d560
add esp, 8
jmp 0x4779c6
test esi, esi
je 0x4779c6
mov dword [ecx + 0x10], esi
mov byte [ecx + 1], 0xf4
inc dword [esi + 0xc]
jmp 0x4779c6
cmp dword [edi + 0x38], 0
jne 0x4779c6
test al, 0x40
jne 0x4779b0
cmp word [esp + 0x28], 0
jne 0x4779b0
cmp byte [ebp + 0x31], 0
mov eax, 0x6a
je 0x4778db
mov ecx, dword [ebx + 0x2c]
mov eax, 0x6b
mov dword [ebp + 0x18], ecx
mov ecx, dword [esp + 0x60]
push eax
push edx
mov edx, dword [ebx + 0x2c]
push edx
mov eax, edi
call fcn.0045b920
add esp, 0xc
cmp byte [ebp + 0x31], 0
jne 0x47799d
cmp word [edi + 0x2a], 0x40
jge 0x47799d
test byte [edi + 0x24], 0x20
jne 0x47799d
mov ecx, dword [ebx + 0x38]
mov edx, dword [ebx + 0x3c]
mov esi, ecx
xor eax, eax
or esi, edx
je 0x47792d
lea esp, [esp]
shrd ecx, edx, 1
shr edx, 1
mov esi, ecx
inc eax
or esi, edx
jne 0x477920
mov esi, dword [esp + 0x1c]
mov ecx, dword [esi]
cmp byte [ecx + 0x49], 0
je 0x477952
push 0xfffffffffffffffd
call fcn.0042d400
movzx dx, byte [esp + 0x17]
add esp, 4
mov ecx, esi
call fcn.00422670
jmp 0x4779c6
mov ecx, dword [esi + 0x88]
mov edx, dword [esi + 0x58]
dec ecx
lea ecx, [ecx + ecx*4]
cmp byte [edx + ecx*4 + 1], 0
lea ecx, [edx + ecx*4]
je 0x477987
push eax
push esi
mov eax, 0xfffffffd
call fcn.0042d560
movzx dx, byte [esp + 0x1b]
add esp, 8
mov ecx, esi
call fcn.00422670
jmp 0x4779c6
movzx dx, byte [esp + 0x13]
mov dword [ecx + 0x10], eax
mov byte [ecx + 1], 0xfd
mov ecx, esi
call fcn.00422670
jmp 0x4779c6
mov esi, dword [esp + 0x1c]
movzx dx, byte [esp + 0x13]
mov ecx, esi
call fcn.00422670
jmp 0x4779c6
mov eax, dword [edi]
mov ecx, dword [edi + 0x1c]
push eax
mov eax, dword [esp + 0x64]
push 0
push ecx
push edx
call fcn.00434380
add esp, 0x10
mov edx, dword [esp + 0x6c]
test dword [edx + 0x24], 0x200
je 0x477ab2
test byte [edi + 0x24], 0x20
mov eax, edx
mov esi, dword [eax + 0x20]
mov ecx, 0x6a
je 0x477a05
mov edx, dword [esi + 0x38]
and dl, 3
cmp dl, 2
jne 0x477a05
cmp word [esp + 0x28], 0
je 0x477a05
mov eax, dword [esp + 0x20]
mov eax, dword [eax - 0x3c]
xor ecx, ecx
jmp 0x477a56
cmp byte [ebp + 0x31], 0
mov eax, dword [esp + 0x78]
je 0x477a36
mov ecx, dword [ebx + 0x10]
mov ecx, dword [ecx + 8]
test ecx, ecx
je 0x477a2c
lea esp, [esp]
cmp ecx, esi
je 0x477a2c
mov ecx, dword [ecx + 0x14]
inc eax
test ecx, ecx
jne 0x477a20
mov ecx, 0x6b
mov dword [ebp + 0x1c], eax
jmp 0x477a56
test eax, eax
je 0x477a49
cmp word [esp + 0x28], 0
je 0x477a49
mov ecx, 0x69
jmp 0x477a56
mov edx, dword [esp + 0x60]
mov eax, dword [edx + 0x28]
lea edi, [eax + 1]
mov dword [edx + 0x28], edi
mov edx, dword [esp + 0x20]
mov dword [edx - 0x38], eax
test ecx, ecx
je 0x477ab2
mov edi, dword [esp + 0x24]
mov edx, dword [esi + 0x2c]
mov ebx, dword [esp + 0x1c]
push edi
push edx
push eax
push ecx
push ebx
call fcn.00432730
mov ecx, esi
mov esi, dword [esp + 0x74]
add esp, 0x14
mov eax, esi
call fcn.0045a880
mov eax, dword [esp + 0x6c]
mov eax, dword [eax + 0x24]
test al, 0xf
je 0x477aba
test eax, 0x8002
jne 0x477aba
test byte [ebp + 0x2c], 1
jne 0x477aba
cmp byte [ebp + 0x33], 2
je 0x477aba
mov edx, 2
mov ecx, ebx
call fcn.00422670
jmp 0x477aba
mov edi, dword [esp + 0x24]
mov esi, dword [esp + 0x60]
test edi, edi
jl 0x477ae6
mov eax, dword [esi + 0x78]
test eax, eax
jne 0x477ac7
mov eax, esi
mov esi, dword [eax + 0x5c]
mov edx, 1
mov ecx, edi
shl edx, cl
test esi, edx
jne 0x477ae6
or edx, esi
mov dword [eax + 0x5c], edx
cmp edi, 1
jne 0x477ae6
call fcn.0046e0f0
add dword [esp + 0x20], 0x50
sub dword [esp + 0x2c], 1
jne 0x4777b0
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx + 0x88]
mov eax, dword [esp + 0x14]
mov dword [ebp + 0x38], edx
cmp byte [eax + 0x49], 0
jne 0x477bc3
xor ebx, ebx
cmp dword [esp + 0x18], ebx
jle 0x477bb9
lea esi, [ebp + 0x31c]
mov ecx, dword [esi + 0x14]
test dword [ecx + 0x24], 0x4000
je 0x477b67
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
lea edx, [esi - 0x2c]
push edx
push eax
movzx eax, byte [esi]
lea edx, [eax + eax*8]
mov eax, dword [esp + 0x6c]
push ecx
lea ecx, [eax + edx*8 + 8]
mov edx, dword [esp + 0x6c]
push ecx
lea eax, [ebp + 0x50]
push eax
push edx
call fcn.0045da70
mov eax, dword [esp + 0x2c]
add esp, 0x18
cmp byte [eax + 0x49], 0
jne 0x477bc3
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x64]
mov edi, dword [esp + 0x60]
push ecx
lea ecx, [esi - 0x2c]
call fcn.004485c0
mov edx, dword [esp + 0x20]
mov eax, dword [edx + 0x88]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
push ecx
push edx
push ebx
push ebp
mov dword [esi - 0xc], eax
call fcn.00475210
mov dword [esp + 0x48], eax
mov eax, dword [esi - 0x14]
inc ebx
add esp, 0x14
add esi, 0x50
cmp ebx, dword [esp + 0x18]
mov dword [esp + 0x38], edx
mov dword [ebp + 0x20], eax
jl 0x477b23
mov eax, ebp
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x4c
ret
mov ecx, dword [ebp + 0x28]
mov edx, dword [esp + 0x60]
mov edi, dword [esp + 0x14]
push ebp
mov dword [edx + 0x84], ecx
call fcn.00430a90
add esp, 4
pop ebp
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x4c
ret