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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x44
push ebx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x14]
mov eax, dword [eax + 0xc]
push esi
push edi
test eax, eax
je 0x53bfef3
push eax
call dword [0x541999c]
add esp, 4
mov edi, dword [ebx + 0x18]
call fcn.0537ae90
mov eax, dword [ebx]
test eax, eax
je 0x53bff12
mov eax, dword [eax + 0xc]
test eax, eax
je 0x53bff12
push eax
call dword [0x541999c]
add esp, 4
mov esi, dword [ebx + 0x1c]
test esi, esi
je 0x53bff27
cmp esi, 5
je 0x53bff27
cmp esi, 6
jne 0x53c08b9
cmp dword [ebx], 0
mov eax, dword [ebx + 0x18]
mov ecx, dword [eax + 4]
mov edx, dword [ecx]
mov ecx, dword [ebx + 4]
mov dword [esp + 0x28], edx
mov edx, dword [ecx + 4]
mov edx, dword [edx]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x2c], 0
je 0x53bff5f
mov eax, dword [eax + 4]
cmp byte [eax + 0x14], 2
jne 0x53bff5f
mov esi, 5
jmp 0x53c0120
xor esi, esi
cmp dword [ebx + 0xc], esi
jne 0x53bff93
push 2
push ecx
call fcn.053b5530
mov esi, eax
add esp, 8
test esi, esi
jne 0x53c0120
mov eax, dword [ebx + 4]
lea ecx, [ebx + 8]
push ecx
push 1
mov dword [ebx + 0xc], 1
call fcn.0537daa0
add esp, 8
mov eax, dword [ebx + 0x18]
cmp byte [eax + 8], 0
mov dword [esp + 0xc], eax
jne 0x53c0120
mov edi, eax
mov esi, dword [edi + 4]
xor ebx, ebx
call fcn.0537ae90
mov edx, edi
mov al, byte [edx + 8]
cmp al, 2
je 0x53c00e8
cmp al, 1
je 0x53c00e8
movzx edx, word [esi + 0x16]
test dl, 0x40
je 0x53bffdf
mov eax, dword [esi + 0x4c]
cmp dword [eax], ebx
je 0x53bffdf
mov ebx, 0x106
jmp 0x53c00e8
mov ecx, edi
mov eax, dword [ecx + 4]
cmp byte [ecx + 9], bl
je 0x53c0026
cmp dword [eax + 0x4c], ecx
je 0x53bfffe
test byte [eax + 0x16], 0x20
je 0x53bfffe
mov ebx, 0x106
jmp 0x53c00e8
mov eax, dword [eax + 0x48]
test eax, eax
je 0x53c0026
mov edi, 1
lea ebx, [ebx]
cmp dword [eax], ecx
je 0x53c001f
cmp dword [eax + 4], edi
jne 0x53c001f
cmp byte [eax + 8], 1
jne 0x53bffd5
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x53c0010
mov eax, edx
xor ebx, ebx
and eax, 0xfff7
mov word [esi + 0x16], ax
cmp dword [esi + 0x2c], ebx
jne 0x53c003f
or eax, 8
mov word [esi + 0x16], ax
cmp dword [esi + 0xc], 0
jne 0x53c0054
mov edi, esi
call fcn.053b1630
mov ebx, eax
test ebx, ebx
je 0x53c003f
jmp 0x53c0058
test ebx, ebx
je 0x53c0078
cmp byte [esi + 0x14], 0
jne 0x53c0078
mov eax, dword [esi + 0xc]
test eax, eax
je 0x53c0078
mov ecx, dword [eax + 0x44]
push ecx
call fcn.053aa950
add esp, 4
mov dword [esi + 0xc], 0
cmp bl, 5
jne 0x53c00b5
cmp byte [esi + 0x14], 0
jne 0x53c00b5
mov edi, dword [esi + 4]
add edi, 0x1b4
je 0x53c00b5
mov ecx, dword [edi]
test ecx, ecx
je 0x53c00b5
mov eax, dword [edi + 8]
test eax, eax
js 0x53c00b5
mov edx, dword [edi + 4]
push eax
push edx
call ecx
add esp, 8
test eax, eax
je 0x53c00ae
inc dword [edi + 8]
jmp 0x53c003f
mov dword [edi + 8], 0xffffffff
test ebx, ebx
jne 0x53c00e8
mov eax, dword [esp + 0xc]
cmp byte [eax + 8], bl
jne 0x53c00da
inc dword [esi + 0x28]
cmp byte [eax + 9], bl
je 0x53c00da
mov byte [eax + 0x24], 1
mov ecx, dword [esi + 0x48]
lea edx, [eax + 0x1c]
mov dword [eax + 0x28], ecx
mov dword [esi + 0x48], edx
mov byte [eax + 8], 1
cmp byte [esi + 0x14], 1
jae 0x53c00e8
mov byte [esi + 0x14], 1
mov ecx, dword [esp + 0xc]
cmp byte [ecx + 9], 0
je 0x53c0113
dec dword [ecx + 0xc]
jne 0x53c0113
mov eax, dword [ecx + 4]
mov eax, dword [eax + 0x38]
test eax, eax
je 0x53c010f
push eax
call dword [0x54199a4]
mov ecx, dword [esp + 0x10]
add esp, 4
mov byte [ecx + 0xa], 0
mov esi, ebx
mov ebx, dword [ebp + 8]
mov dword [esp + 0x2c], 1
mov eax, dword [ebx + 4]
mov eax, dword [eax + 4]
mov edi, dword [eax + 0x20]
mov ecx, dword [ebx + 0x18]
mov eax, dword [eax]
mov ecx, dword [ecx + 4]
movzx eax, byte [eax + 5]
mov edx, dword [ecx + 0x20]
mov dword [esp + 0x24], edx
mov dword [esp + 0x10], edi
mov dword [esp + 0x3c], eax
test esi, esi
jne 0x53c0154
cmp eax, 5
jne 0x53c0154
cmp edx, edi
je 0x53c0154
lea esi, [eax + 3]
mov ebx, dword [ecx + 0x2c]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x20], 0
mov eax, dword [ebp + 0xc]
test eax, eax
js 0x53c0170
cmp dword [esp + 0x20], eax
jge 0x53c01e8
mov ecx, dword [ebp + 8]
mov edi, dword [ecx + 0x10]
cmp edi, ebx
ja 0x53c01eb
test esi, esi
jne 0x53c022c
mov edx, dword [ecx + 0x18]
mov ecx, dword [edx + 4]
mov eax, dword [0x5419a50]
xor edx, edx
div dword [ecx + 0x20]
inc eax
cmp edi, eax
je 0x53c01d4
mov eax, dword [esp + 0x28]
lea edx, [esp + 0x30]
push edx
push edi
lea ecx, [esi + 2]
call fcn.0539c900
mov esi, eax
add esp, 8
test esi, esi
jne 0x53c01d4
mov ebx, dword [esp + 0x30]
mov eax, dword [ebx + 4]
push esi
push eax
mov eax, dword [ebp + 8]
push edi
push eax
call fcn.053a2b60
push ebx
mov esi, eax
call fcn.053aa950
mov ebx, dword [esp + 0x20]
add esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, 1
add dword [eax + 0x10], ecx
add dword [esp + 0x20], ecx
jmp 0x53c0163
mov ecx, dword [ebp + 8]
test esi, esi
jne 0x53c022c
mov eax, dword [ecx + 0x10]
mov edx, ebx
sub edx, eax
inc edx
mov dword [ecx + 0x24], ebx
mov dword [ecx + 0x20], edx
cmp eax, ebx
ja 0x53c0235
mov eax, dword [ebp + 8]
cmp dword [eax + 0x28], esi
jne 0x53c0736
mov ecx, eax
mov edx, dword [ecx + 0x18]
mov eax, dword [edx + 4]
mov eax, dword [eax]
mov edx, dword [eax + 0x58]
mov dword [ecx + 0x2c], edx
mov dword [eax + 0x58], ecx
mov dword [ecx + 0x28], 1
jmp 0x53c0736
cmp esi, 0x65
jne 0x53c0736
test ebx, ebx
jne 0x53c0288
mov eax, dword [ebp + 8]
mov edi, dword [eax + 4]
call fcn.0537ae90
mov ecx, dword [edi + 4]
mov dword [ecx + 0x2c], ebx
mov ebx, dword [edi + 4]
call fcn.053a2e40
cmp byte [edi + 9], 0
mov esi, eax
je 0x53c0277
dec dword [edi + 0xc]
jne 0x53c0277
mov edx, dword [edi + 4]
mov eax, dword [edx + 0x38]
test eax, eax
je 0x53c0273
push eax
call dword [0x54199a4]
add esp, 4
mov byte [edi + 0xa], 0
mov dword [esp + 0xc], 1
test esi, esi
je 0x53c0288
cmp esi, 0x65
jne 0x53c02f8
mov eax, dword [ebp + 8]
mov ebx, dword [eax + 8]
mov edi, dword [eax + 4]
mov esi, dword [edi + 4]
inc ebx
call fcn.0537ae90
mov eax, dword [esi + 0xc]
mov esi, dword [eax + 0x38]
mov eax, dword [eax + 0x44]
push eax
call fcn.0539f710
add esp, 4
mov dword [esp + 0x30], eax
test eax, eax
jne 0x53c02cf
mov ecx, ebx
shr ecx, 0x18
mov byte [esi + 0x28], cl
mov edx, ebx
shr edx, 0x10
mov ecx, ebx
shr ecx, 8
mov byte [esi + 0x29], dl
mov byte [esi + 0x2a], cl
mov byte [esi + 0x2b], bl
cmp byte [edi + 9], 0
je 0x53c02f6
dec dword [edi + 0xc]
jne 0x53c02f6
mov edx, dword [edi + 4]
mov ecx, dword [edx + 0x38]
test ecx, ecx
je 0x53c02f2
push ecx
call dword [0x54199a4]
mov eax, dword [esp + 0x34]
add esp, 4
mov byte [edi + 0xa], 0
mov esi, eax
test esi, esi
jne 0x53c0736
mov edi, dword [ebp + 8]
mov eax, dword [edi]
test eax, eax
je 0x53c030e
call fcn.05394dc0
cmp dword [esp + 0x3c], 5
jne 0x53c032d
mov eax, dword [edi + 4]
push 2
push eax
call fcn.053b6770
mov esi, eax
add esp, 8
test esi, esi
jne 0x53c0736
mov ebx, dword [esp + 0x24]
cmp ebx, dword [esp + 0x10]
jge 0x53c0368
mov eax, dword [esp + 0x10]
cdq
idiv ebx
mov edx, dword [esp + 0xc]
mov ecx, eax
lea eax, [ecx + edx - 1]
cdq
idiv ecx
xor edx, edx
mov edi, eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
mov ecx, dword [ecx + 4]
mov eax, dword [0x5419a50]
div dword [ecx + 0x20]
inc eax
cmp edi, eax
jne 0x53c0376
dec edi
jmp 0x53c0376
mov eax, ebx
cdq
idiv dword [esp + 0x10]
mov edi, eax
imul edi, dword [esp + 0xc]
cmp ebx, dword [esp + 0x10]
jge 0x53c0657
mov eax, ebx
cdq
mov ecx, eax
mov eax, dword [esp + 0xc]
mov ebx, edx
push ebx
cdq
push ecx
push edx
push eax
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], ebx
call fcn.05359560
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x44], edx
mov edx, dword [eax + 0x3c]
mov eax, dword [eax + 0x18]
mov dword [esp + 0xc], edx
mov dword [esp + 0x3c], eax
cmp edi, dword [esp + 0x3c]
ja 0x53c0412
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [0x5419a50]
xor edx, edx
div dword [ecx + 0x20]
inc eax
cmp edi, eax
je 0x53c040b
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x30]
push edx
push edi
xor ecx, ecx
call fcn.0539c900
mov esi, eax
add esp, 8
test esi, esi
jne 0x53c040b
mov ebx, dword [esp + 0x30]
push ebx
call fcn.0539f710
add esp, 4
mov esi, eax
test ebx, ebx
je 0x53c040b
push ebx
call fcn.053aa950
add esp, 4
inc edi
test esi, esi
je 0x53c03b7
jmp 0x53c0427
test esi, esi
jne 0x53c0427
mov eax, dword [esp + 0x1c]
push 1
push esi
call fcn.053aa7e0
add esp, 8
mov esi, eax
mov eax, dword [esp + 0x10]
mov edi, dword [0x5419a50]
mov ecx, dword [esp + 0x44]
add eax, edi
cdq
cmp edx, ecx
jg 0x53c044e
jl 0x53c0444
cmp eax, dword [esp + 0x40]
jae 0x53c044e
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
jmp 0x53c045a
mov edx, dword [esp + 0x40]
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x24]
add eax, edi
cdq
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], edx
test esi, esi
jne 0x53c0736
mov ecx, dword [esp + 0x14]
cmp dword [esp + 0x34], ecx
jg 0x53c05c7
jl 0x53c048f
mov edx, dword [esp + 0x10]
cmp dword [esp + 0x30], edx
jae 0x53c05c7
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x48]
mov edi, dword [esp + 0x30]
lea eax, [esp + 0x20]
push eax
mov eax, dword [esp + 0x38]
push ecx
push edx
push eax
push edi
mov dword [esp + 0x34], 0
call fcn.0535ad30
inc eax
push eax
mov eax, dword [esp + 0x30]
xor ecx, ecx
call fcn.0539c900
mov ebx, dword [esp + 0x28]
mov esi, eax
add esp, 8
test esi, esi
jne 0x53c04ef
mov esi, dword [esp + 0x34]
mov eax, dword [ebx + 4]
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx]
push esi
mov esi, dword [esp + 0x28]
push edi
push esi
push eax
mov eax, dword [edx + 0xc]
push ecx
call eax
add esp, 0x14
mov esi, eax
test ebx, ebx
je 0x53c05aa
test byte [ebx + 0x18], 0x40
mov edi, dword [ebx + 0x10]
je 0x53c0548
dec dword [edi + 0x78]
mov ecx, dword [edi + 0x88]
mov dword [ebx + 0xc], ecx
mov eax, dword [edi + 0x3c]
mov dword [edi + 0x88], ebx
mov eax, dword [eax]
mov edx, dword [ebx + 4]
mov ecx, dword [ebx + 0x14]
push edx
mov dword [esp + 0x40], eax
mov eax, dword [edi + 0x98]
cdq
push edx
push eax
dec ecx
push 0
push ecx
call fcn.05359560
push edx
push eax
mov eax, dword [edi + 0x3c]
push eax
mov eax, dword [esp + 0x4c]
mov edx, dword [eax + 0x48]
call edx
add esp, 0x10
jmp 0x53c054f
mov eax, ebx
call fcn.053781a0
cmp dword [edi + 0x78], 0
jne 0x53c05aa
mov eax, dword [edi + 0xcc]
cmp dword [eax + 0xc], 0
jne 0x53c05aa
mov al, byte [edi + 0xf]
cmp al, 6
je 0x53c05a3
test al, al
je 0x53c05a3
cmp al, 2
jb 0x53c058f
mov eax, dword [0x541d6c8]
test eax, eax
je 0x53c057b
call eax
mov eax, edi
call fcn.053a86a0
mov eax, dword [0x541d6cc]
test eax, eax
je 0x53c05a3
call eax
jmp 0x53c05a3
cmp byte [edi + 4], 0
jne 0x53c05a3
push 0
push 0
mov ebx, edi
call fcn.0537f9f0
add esp, 8
mov ebx, edi
call fcn.05382e00
mov ecx, dword [esp + 0x48]
add dword [esp + 0x30], ecx
mov edx, dword [esp + 0x4c]
adc dword [esp + 0x34], edx
test esi, esi
je 0x53c0471
jmp 0x53c0736
test esi, esi
jne 0x53c0736
mov esi, dword [esp + 0xc]
mov eax, dword [esi]
mov edx, dword [eax + 0x18]
lea ecx, [esp + 0x48]
push ecx
push esi
call edx
add esp, 8
test eax, eax
jne 0x53c060e
mov ecx, dword [esp + 0x44]
cmp dword [esp + 0x4c], ecx
jl 0x53c060e
jg 0x53c05fd
mov edx, dword [esp + 0x48]
cmp edx, dword [esp + 0x40]
jbe 0x53c060e
mov eax, dword [esi]
mov edx, dword [eax + 0x10]
push ecx
mov ecx, dword [esp + 0x44]
push ecx
push esi
call edx
add esp, 0xc
mov esi, eax
test eax, eax
jne 0x53c0736
mov esi, dword [esp + 0x1c]
mov ecx, dword [esi + 0x3c]
cmp dword [ecx], eax
je 0x53c063f
mov eax, dword [ecx]
push 0
push 0x15
push ecx
mov ecx, dword [eax + 0x28]
call ecx
add esp, 0xc
cmp eax, 0xc
jne 0x53c063b
xor eax, eax
jmp 0x53c063f
test eax, eax
jne 0x53c066a
cmp byte [esi + 7], 0
jne 0x53c066a
movzx ecx, byte [esi + 0xb]
mov eax, dword [esi + 0x3c]
mov edx, dword [eax]
push ecx
push eax
mov eax, dword [edx + 0x14]
call eax
jmp 0x53c0667
mov eax, dword [esp + 0x1c]
push 0
push 0
mov dword [eax + 0x18], edi
call fcn.053aa7e0
add esp, 8
mov esi, eax
test esi, esi
jne 0x53c0736
mov ecx, dword [ebp + 8]
mov edi, dword [ecx + 4]
cmp byte [edi + 8], al
je 0x53c0731
call fcn.0537ae90
cmp byte [edi + 8], 2
jne 0x53c0709
mov esi, dword [edi + 4]
mov ebx, dword [esi]
mov eax, dword [ebx + 0x28]
mov dword [esp + 0x3c], esi
test eax, eax
jne 0x53c07c3
cmp byte [ebx + 0xf], 2
jne 0x53c079b
cmp byte [ebx + 4], al
je 0x53c079b
cmp byte [ebx + 5], 1
jne 0x53c079b
mov byte [ebx + 0xf], 1
mov eax, dword [esi + 0x3c]
mov byte [esi + 0x14], 1
mov dword [esp + 0x30], eax
test eax, eax
je 0x53c0702
cmp dword [eax + 8], 0
je 0x53c06f9
lea esi, [eax + 0xc]
mov ebx, 0x7d
mov ecx, dword [esi]
push ecx
call fcn.0537c110
add esp, 4
add esi, 4
dec ebx
jne 0x53c06e0
mov esi, dword [esp + 0x3c]
mov eax, dword [esp + 0x30]
push eax
call fcn.05378d40
add esp, 4
mov dword [esi + 0x3c], 0
call fcn.053b5280
cmp byte [edi + 9], 0
je 0x53c0731
dec dword [edi + 0xc]
jne 0x53c0731
mov edx, dword [edi + 4]
mov eax, dword [edx + 0x38]
test eax, eax
je 0x53c072d
push eax
call dword [0x54199a4]
add esp, 4
mov byte [edi + 0xa], 0
mov esi, 0x65
cmp dword [esp + 0x2c], 0
je 0x53c08a4
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x18]
push 0
call fcn.053bde30
mov edi, dword [edi + 0x18]
add esp, 4
cmp byte [edi + 8], 0
je 0x53c08a4
call fcn.0537ae90
cmp byte [edi + 8], 2
jne 0x53c087c
mov ecx, dword [edi + 4]
mov ebx, dword [ecx]
mov eax, dword [ebx + 0x28]
mov dword [esp + 0x24], ecx
test eax, eax
jne 0x53c0881
cmp byte [ebx + 0xf], 2
jne 0x53c07f7
cmp byte [ebx + 4], al
je 0x53c07f7
cmp byte [ebx + 5], 1
jne 0x53c07f7
mov byte [ebx + 0xf], 1
jmp 0x53c0827
movzx edx, byte [ebx + 0x12]
push 1
push edx
call fcn.0537f9f0
mov ecx, eax
and ecx, 0xff
add esp, 8
cmp ecx, 0xd
je 0x53c07bc
cmp ecx, 0xa
jne 0x53c07c3
mov dword [ebx + 0x28], eax
mov byte [ebx + 0xf], 6
mov ebx, eax
test ebx, ebx
je 0x53c06c3
cmp byte [edi + 9], 0
je 0x53c07f0
dec dword [edi + 0xc]
jne 0x53c07f0
mov eax, dword [edi + 4]
mov eax, dword [eax + 0x38]
test eax, eax
je 0x53c07ec
push eax
call dword [0x54199a4]
add esp, 4
mov byte [edi + 0xa], 0
mov esi, ebx
jmp 0x53c0736
movzx eax, byte [ebx + 0x12]
push 1
push eax
call fcn.0537f9f0
mov ecx, eax
and ecx, 0xff
add esp, 8
cmp ecx, 0xd
je 0x53c0818
cmp ecx, 0xa
jne 0x53c081f
mov dword [ebx + 0x28], eax
mov byte [ebx + 0xf], 6
mov ecx, dword [esp + 0x24]
test eax, eax
jne 0x53c0881
mov eax, dword [ecx + 0x3c]
mov byte [ecx + 0x14], 1
mov dword [esp + 0x28], eax
test eax, eax
je 0x53c0875
cmp dword [eax + 8], 0
je 0x53c0864
mov ebx, eax
add ebx, 0xc
mov dword [esp + 0x2c], 0x7d
lea esp, [esp]
mov edx, dword [ebx]
push edx
call fcn.0537c110
add esp, 4
add ebx, 4
dec dword [esp + 0x2c]
jne 0x53c0850
mov eax, dword [esp + 0x28]
push eax
call fcn.05378d40
mov ecx, dword [esp + 0x28]
add esp, 4
mov dword [ecx + 0x3c], 0
call fcn.053b5280
cmp byte [edi + 9], 0
je 0x53c08a4
dec dword [edi + 0xc]
jne 0x53c08a4
mov ecx, dword [edi + 4]
mov eax, dword [ecx + 0x38]
test eax, eax
je 0x53c08a0
push eax
call dword [0x54199a4]
add esp, 4
mov byte [edi + 0xa], 0
cmp esi, 0xc0a
jne 0x53c08b1
mov esi, 7
mov edx, dword [ebp + 8]
mov dword [edx + 0x1c], esi
mov ebx, edx
mov eax, dword [ebx]
test eax, eax
je 0x53c08d0
mov eax, dword [eax + 0xc]
test eax, eax
je 0x53c08d0
push eax
call dword [0x54199a4]
add esp, 4
mov edi, dword [ebx + 0x18]
cmp byte [edi + 9], 0
je 0x53c08f6
dec dword [edi + 0xc]
jne 0x53c08f6
mov eax, dword [edi + 4]
mov eax, dword [eax + 0x38]
test eax, eax
je 0x53c08f2
push eax
call dword [0x54199a4]
add esp, 4
mov byte [edi + 0xa], 0
mov ecx, dword [ebx + 0x14]
mov eax, dword [ecx + 0xc]
test eax, eax
je 0x53c090a
push eax
call dword [0x54199a4]
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret