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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x74
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 8]
mov edx, dword [ecx]
mov dword [esp + 0x10], eax
xor eax, eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov eax, dword [ebp + 0x14]
push ebx
push esi
mov dword [esp + 0x58], eax
test byte [edx + 0x3c], 0x20
push edi
mov dword [esp + 0x18], edx
je 0x53bdf66
and dword [ebp + 0x1c], 0xfbff
mov edx, dword [ebp + 0xc]
mov edx, dword [edx]
cmp edx, 0x40
jle 0x53bdf89
push 0x40
push str.at_most__d_tables_in_a_join
push ecx
call fcn.053888e0
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x1c]
and eax, 0x40
mov dword [esp + 0x3c], eax
je 0x53bdfa0
mov ebx, 1
mov dword [esp + 0x14], ebx
jmp 0x53bdfa6
mov dword [esp + 0x14], edx
mov ebx, edx
mov esi, dword [esp + 0x18]
lea edi, [ebx + ebx*8]
lea edi, [edi*8 + 0x2e7]
and edi, 0xfffffff8
lea ecx, [edi + 0x48]
call fcn.05381130
mov esi, eax
test esi, esi
je 0x53bdfd4
lea eax, [edi + 0x48]
push eax
push 0
push esi
call fcn.05351b20
add esp, 0xc
mov eax, dword [esp + 0x18]
cmp byte [eax + 0x40], 0
je 0x53bdff2
mov ecx, dword [esp + 0x18]
mov eax, esi
call fcn.0537c5b0
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x14]
or eax, 0xffffffff
mov dword [esi + 0x40], eax
mov dword [esi + 0x3c], eax
mov eax, dword [ebp + 0x18]
mov byte [esi + 0x28], bl
mov ebx, dword [ebp + 8]
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0x1c]
mov dword [esi], ebx
mov dword [esi + 4], ecx
mov dword [esi + 8], edx
call fcn.0539c360
mov cx, word [ebp + 0x1c]
mov word [esi + 0x22], cx
mov dword [esi + 0x34], eax
mov edx, dword [ebx + 0x1ac]
mov dword [esi + 0x38], edx
mov dword [esp + 0x54], esi
lea eax, [esi + 0x148]
mov dword [esp + 0x58], eax
lea ecx, [esi + edi]
mov dword [esp + 0x60], ecx
lea edx, [ecx + 0x34]
mov dword [ecx + 0x2c], edx
xor edx, edx
mov word [ecx + 0x28], dx
mov edx, 4
mov word [ecx + 0x2a], dx
mov edx, dword [ebp + 0x10]
xor ebx, ebx
mov dword [ecx + 0x24], ebx
mov dword [esi + 0x44], ebx
push 0x48
push edx
lea ecx, [eax + 0x18]
push eax
mov dword [eax], esi
mov dword [eax + 4], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], 8
mov dword [eax + 0x14], ecx
call fcn.05389cc0
mov ecx, dword [esp + 0x64]
add esp, 0xc
cmp dword [ecx + 0xc], ebx
jle 0x53be12a
xor edi, edi
cmp dword [esp + 0x14], 0
je 0x53be0f2
xor eax, eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov eax, dword [ecx + 0x14]
mov ecx, dword [eax + edi]
push ecx
lea edx, [esp + 0x6c]
push edx
mov dword [esp + 0x84], 3
mov dword [esp + 0x70], 0x5370110
mov dword [esp + 0x74], 0x53700f0
call fcn.0537a5b0
add esp, 8
cmp dword [esp + 0x7c], 0
je 0x53be119
mov ecx, dword [esp + 0x58]
mov eax, dword [esi + 0x34]
mov ecx, dword [ecx + 0x14]
mov edx, dword [ecx + edi]
push 8
push eax
mov eax, dword [ebp + 8]
push edx
push eax
call fcn.053d2db0
mov ecx, dword [esp + 0x68]
mov edx, dword [ecx + 0x14]
lea eax, [edx + edi + 0x14]
add esp, 0x10
or byte [eax], 4
mov ecx, dword [esp + 0x58]
inc ebx
add edi, 0x30
cmp ebx, dword [ecx + 0xc]
jl 0x53be097
cmp dword [esp + 0x14], 0
jne 0x53be148
cmp dword [ebp + 0x14], 0
je 0x53be13b
mov byte [esi + 0x24], 1
test dword [ebp + 0x1c], 0x400
je 0x53be148
mov byte [esi + 0x27], 1
mov eax, dword [ebp + 0xc]
xor ecx, ecx
cmp dword [eax], ecx
jle 0x53be16d
mov edx, eax
add edx, 0x38
mov ebx, dword [edx]
mov edi, dword [esi + 0x44]
mov eax, dword [ebp + 0xc]
mov dword [esi + edi*4 + 0x48], ebx
inc dword [esi + 0x44]
inc ecx
add edx, 0x50
cmp ecx, dword [eax]
jl 0x53be156
mov edi, dword [esi + 0x154]
dec edi
lea ebx, [esi + 0x148]
js 0x53be191
lea esp, [esp]
mov ecx, dword [ebp + 0xc]
push edi
push ebx
push ecx
call fcn.053ae560
add esp, 0xc
dec edi
jns 0x53be180
mov edi, dword [esp + 0x18]
cmp byte [edi + 0x40], 0
jne 0x53be7d6
mov eax, dword [ebp + 0x1c]
and eax, 0x400
mov dword [esp + 0x30], eax
je 0x53be1e1
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x18]
push edx
push eax
mov ecx, ebx
call fcn.053b9f40
add esp, 0xc
test eax, eax
je 0x53be1cd
mov byte [esi + 0x27], 1
jmp 0x53be1e4
cmp dword [ebp + 0x14], 0
jne 0x53be1e4
mov ecx, 0x200
or word [esi + 0x22], cx
mov dword [esi + 8], ebx
jmp 0x53be1e4
mov ebx, dword [ebp + 0x18]
cmp dword [esp + 0x14], 1
jne 0x53be1f8
lea ecx, [esp + 0x54]
call fcn.053b7fb0
test eax, eax
jne 0x53be244
lea edx, [esp + 0x54]
push edx
call fcn.053bceb0
add esp, 4
test eax, eax
jne 0x53be7d6
push eax
push esi
call fcn.053ba540
add esp, 8
cmp byte [edi + 0x40], 0
jne 0x53be7d6
cmp dword [esi + 8], 0
je 0x53be24a
mov ax, word [esi + 0x20]
inc ax
movzx ecx, ax
push ecx
push esi
call fcn.053ba540
add esp, 8
cmp byte [edi + 0x40], 0
jne 0x53be7d6
cmp dword [esi + 8], 0
jne 0x53be25c
test dword [edi + 0x18], 0x20000
je 0x53be25c
or eax, 0xffffffff
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov edx, dword [ebp + 8]
cmp dword [edx + 0x44], 0
jne 0x53be7d6
cmp byte [edi + 0x40], 0
jne 0x53be7d6
cmp byte [esi + 0x28], 2
jb 0x53be37c
test ebx, ebx
je 0x53be37c
mov eax, 0x400
test word [edi + 0x3c], ax
jne 0x53be37c
push ebx
lea edi, [esi + 0x44]
push edi
call fcn.05379b90
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x64]
add esp, 8
mov dword [esp + 0x4c], edx
test eax, eax
je 0x53be2c3
push eax
push edi
call fcn.05379b90
or dword [esp + 0x50], eax
add esp, 8
or dword [esp + 0x4c], edx
cmp byte [esi + 0x28], 2
jb 0x53be37c
lea ecx, [ecx]
mov bl, byte [esi + 0x28]
movzx eax, bl
lea edx, [eax + eax*8 + 0x5a]
mov eax, dword [esi + edx*8]
movzx ecx, byte [eax + 0x10]
mov edx, dword [esi + 4]
lea ecx, [ecx + ecx*4]
add ecx, ecx
test byte [edx + ecx*8 + 0x2c], 8
je 0x53be37c
cmp word [esp + 0x30], 0
jne 0x53be305
test dword [eax + 0x24], 0x1000
je 0x53be37c
mov edx, dword [eax + 8]
mov ecx, dword [eax + 0xc]
mov eax, edx
and eax, dword [esp + 0x48]
mov dword [esp + 0x44], ecx
and ecx, dword [esp + 0x4c]
mov dword [esp + 0x40], edx
or eax, ecx
jne 0x53be37c
mov eax, dword [esp + 0x58]
mov edi, dword [eax + 0xc]
mov ecx, dword [eax + 0x14]
lea edi, [edi + edi*2]
shl edi, 4
add edi, ecx
cmp ecx, edi
jae 0x53be36a
mov ebx, dword [esp + 0x44]
jmp 0x53be344
mov edx, dword [esp + 0x40]
mov eax, dword [ecx + 0x28]
and eax, edx
mov edx, dword [ecx + 0x2c]
and edx, ebx
or eax, edx
je 0x53be35a
mov eax, dword [ecx]
test byte [eax + 4], 1
je 0x53be363
add ecx, 0x30
cmp ecx, edi
jb 0x53be340
jmp 0x53be367
cmp ecx, edi
jb 0x53be37c
mov bl, byte [esi + 0x28]
dec dword [esp + 0x14]
dec bl
mov byte [esi + 0x28], bl
cmp bl, 2
jae 0x53be2d0
movsx ecx, word [esi + 0x20]
mov eax, dword [esi]
add dword [eax + 0x1ac], ecx
test byte [ebp + 0x1c], 4
je 0x53be3b1
mov eax, dword [esi + 0x318]
test dword [eax + 0x24], 0x1000
je 0x53be3b1
mov edx, dword [ebp + 0xc]
mov byte [esi + 0x25], 1
mov ecx, dword [edx + 0x18]
test byte [ecx + 0x2c], 0x20
jne 0x53be3b1
and dword [eax + 0x24], 0xffffffbf
cmp dword [esp + 0x14], 0
jle 0x53be6fe
mov eax, dword [esp + 0x14]
lea edx, [esi + 0x318]
mov dword [esp + 0x24], edx
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0x24]
movzx eax, byte [ecx - 0x14]
lea edx, [eax + eax*4]
mov eax, dword [ebp + 0xc]
add edx, edx
mov edi, dword [eax + edx*8 + 0x18]
mov ecx, dword [edi + 0x44]
lea ebx, [eax + edx*8 + 8]
mov eax, 0xfff0bdc0
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], 0
test ecx, ecx
je 0x53be44f
mov ecx, dword [esp + 0x18]
mov ecx, dword [ecx + 0x14]
xor eax, eax
mov edx, 1
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], edx
mov dword [esp + 0x30], ecx
test ecx, ecx
jle 0x53be44f
mov ecx, dword [esp + 0x18]
mov ecx, dword [ecx + 0x10]
add ecx, 0xc
lea ebx, [ebx]
mov ebx, dword [edi + 0x44]
cmp dword [ecx], ebx
je 0x53be443
inc eax
add ecx, 0x10
rol edx, 1
cmp eax, dword [esp + 0x30]
jl 0x53be430
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], edx
mov edx, dword [esp + 0x24]
mov cl, byte [edi + 0x2c]
mov edx, dword [edx]
mov dword [esp + 0x38], edx
test cl, 2
jne 0x53be551
cmp dword [edi + 0xc], 0
jne 0x53be551
mov edx, dword [edx + 0x24]
mov dword [esp + 0x30], edx
test edx, 0x400
je 0x53be4b5
mov eax, dword [edi + 0x3c]
test eax, eax
je 0x53be494
mov ecx, dword [eax]
cmp ecx, dword [esp + 0x18]
je 0x53be494
mov eax, dword [eax + 0x18]
test eax, eax
jne 0x53be485
mov edx, dword [ebx + 0x30]
push 0xfffffffffffffff6
push eax
mov eax, dword [esp + 0x24]
push 0
push 0
push edx
push 0x94
call fcn.0539ee30
add esp, 0x18
jmp 0x53be551
test cl, 0x10
jne 0x53be551
test byte [esp + 0x30], 0x40
jne 0x53be53c
test byte [ebp + 0x1c], 0x10
jne 0x53be53c
cmp byte [esi + 0x25], 0
mov ecx, 0x34
je 0x53be4e1
mov edx, dword [ebx + 0x30]
mov ecx, 0x35
mov dword [esi + 0x3c], edx
push ecx
mov ecx, dword [ebp + 8]
push eax
mov eax, dword [ebx + 0x30]
push eax
push ecx
mov eax, edi
call fcn.053abf20
add esp, 0x10
cmp byte [esi + 0x25], 0
jne 0x53be551
cmp word [edi + 0x26], 0x40
jge 0x53be551
test byte [edi + 0x2c], 0x20
jne 0x53be551
mov eax, dword [ebx + 0x40]
mov ecx, dword [ebx + 0x44]
mov edi, eax
xor edx, edx
or edi, ecx
je 0x53be523
shrd eax, ecx, 1
shr ecx, 1
mov edi, eax
inc edx
or edi, ecx
jne 0x53be516
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx + 0x20]
push edx
push ecx
dec eax
mov ecx, 0xfffffff2
call fcn.0538dce0
add esp, 8
jmp 0x53be551
mov edx, dword [edi]
mov ecx, dword [edi + 0x20]
push edx
push 0
push ecx
push eax
mov eax, dword [ebp + 8]
call fcn.0539bd20
add esp, 0x10
mov eax, dword [esp + 0x38]
test dword [eax + 0x24], 0x200
je 0x53be683
cmp byte [esi + 0x25], 0
mov ecx, dword [eax + 0x1c]
mov edi, dword [ebp + 0x20]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x30], 0x34
je 0x53be5a1
mov edx, dword [esp + 0x2c]
mov eax, dword [edx + 0x10]
mov eax, dword [eax + 8]
test eax, eax
je 0x53be594
cmp eax, ecx
je 0x53be594
mov eax, dword [eax + 0x14]
inc edi
test eax, eax
jne 0x53be588
mov dword [esp + 0x30], 0x35
mov dword [esi + 0x40], edi
jmp 0x53be5b9
test edi, edi
je 0x53be5ad
cmp word [esp + 0x3c], 0
jne 0x53be5b9
mov eax, dword [ebp + 8]
mov edi, dword [eax + 0x48]
lea edx, [edi + 1]
mov dword [eax + 0x48], edx
mov eax, dword [esp + 0x24]
mov ebx, dword [esp + 0x1c]
mov dword [eax - 0x30], edi
mov eax, dword [ebx + 0x20]
mov edx, dword [ebx + 0x18]
mov ecx, dword [ecx + 0x2c]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x38], eax
cmp dword [edx + 0x58], eax
jg 0x53be5e3
call fcn.0539b0d0
test eax, eax
jne 0x53be619
mov ecx, dword [ebx + 4]
inc dword [ebx + 0x20]
mov eax, dword [esp + 0x38]
mov dl, byte [esp + 0x30]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x40]
mov byte [eax], dl
mov edx, dword [esp + 0x20]
mov byte [eax + 3], 0
mov dword [eax + 4], edi
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], 0
mov byte [eax + 1], 0
mov ecx, dword [esp + 0x48]
mov eax, dword [ebp + 8]
mov ebx, dword [eax + 8]
push ecx
push eax
call fcn.053a9fa0
mov edx, dword [ebx + 4]
mov edi, dword [ebx]
add esp, 8
mov dword [esp + 0x30], eax
test edx, edx
je 0x53be677
cmp byte [edi + 0x40], 0
jne 0x53be677
mov eax, dword [ebx + 0x20]
lea eax, [eax + eax*4 - 5]
mov ecx, dword [edx + eax*4 + 0x10]
lea ebx, [edx + eax*4]
movsx eax, byte [ebx + 1]
call fcn.05388110
xor eax, eax
mov dword [ebx + 0x10], eax
cmp dword [esp + 0x30], eax
jne 0x53be66a
mov dword [ebx + 0x10], eax
mov byte [ebx + 1], al
jmp 0x53be683
mov ecx, dword [esp + 0x30]
mov dword [ebx + 0x10], ecx
mov byte [ebx + 1], 0xfa
jmp 0x53be683
mov ecx, eax
mov eax, 0xfffffffa
call fcn.05388110
mov ecx, dword [esp + 0x20]
test ecx, ecx
js 0x53be6d0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x19c]
test eax, eax
je 0x53be69a
mov ebx, eax
mov edx, dword [ebx + 0x150]
mov eax, dword [esp + 0x28]
test edx, eax
jne 0x53be6d0
or eax, edx
mov edx, dword [ebx]
mov dword [ebx + 0x150], eax
mov edx, dword [edx + 0x10]
mov eax, ecx
add eax, eax
mov eax, dword [edx + eax*8 + 0xc]
mov edx, dword [eax]
mov dword [ebx + ecx*4 + 0x154], edx
cmp ecx, 1
jne 0x53be6d0
call fcn.053b3dc0
mov edx, dword [esi + 0x44]
xor eax, eax
test edx, edx
jle 0x53be6ef
mov ecx, dword [esp + 0x2c]
mov edi, dword [ecx + 0x30]
lea ecx, [esi + 0x48]
cmp dword [ecx], edi
je 0x53be6ef
inc eax
add ecx, 4
cmp eax, edx
jl 0x53be6e3
add dword [esp + 0x24], 0x48
dec dword [esp + 0x34]
jne 0x53be3ce
mov edx, dword [esp + 0x1c]
mov eax, dword [edx + 0x20]
mov ecx, dword [esp + 0x18]
mov dword [esi + 0x2c], eax
cmp byte [ecx + 0x40], 0
jne 0x53be7d6
or eax, 0xffffffff
xor edi, edi
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
cmp dword [esp + 0x14], edi
jle 0x53be7cd
lea ebx, [esi + 0x304]
mov edx, dword [ebx + 0x14]
test dword [edx + 0x24], 0x4000
je 0x53be77a
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x48]
lea eax, [ebx - 0x24]
push eax
movzx eax, byte [ebx]
push ecx
mov ecx, dword [ebp + 0xc]
lea eax, [eax + eax*4]
push edx
add eax, eax
lea edx, [ecx + eax*8 + 8]
push edx
lea eax, [esi + 0x148]
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.053adcb0
mov ecx, dword [esp + 0x30]
add esp, 0x18
cmp byte [ecx + 0x40], 0
jne 0x53be7d6
movzx eax, byte [ebx]
mov edx, dword [ebp + 0x1c]
push edx
mov edx, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push edi
lea ecx, [ebx - 0x24]
push edx
call fcn.053a0590
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + 0x20]
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x58]
push edx
push eax
mov dword [ebx - 4], ecx
push edi
mov ecx, esi
call fcn.053b8b30
mov ecx, dword [ebx - 0xc]
inc edi
add esp, 0x1c
add ebx, 0x48
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], edx
mov dword [esi + 0x30], ecx
cmp edi, dword [esp + 0x14]
jl 0x53be733
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [esi + 0x38]
mov eax, dword [ebp + 8]
mov dword [eax + 0x1ac], edx
mov eax, dword [esp + 0x18]
mov ebx, esi
call fcn.053899d0
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret