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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x8c
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
push esi
mov ecx, dword [eax + 0x88]
push edi
mov eax, dword [ecx]
call dword [eax + 0xc]
mov esi, eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x30], esi
test eax, eax
je 0x53c677
and dword [eax], 0
mov ecx, esi
call fcn.004fc974
test al, al
jne 0x53c6d0
cmp byte [ebp + 0x18], al
je 0x53c6c5
sub esp, 0x10
mov eax, esp
sub esp, 0x10
mov dword [eax], 7
mov dword [eax + 4], esi
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x88]
mov eax, esp
push 0x10a
push dword [ebp + 8]
mov dword [eax], 8
mov dword [eax + 4], ecx
mov eax, dword [ebx + 4]
mov eax, dword [eax + 0xb8]
mov ecx, dword [eax + 0x10]
call fcn.004d3390
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov ecx, esi
call fcn.004fbe6c
mov esi, eax
mov ecx, esi
mov dword [esp + 0x2c], esi
call fcn.004fbe6c
mov ecx, dword [ebx + 4]
push dword [ebp + 0x18]
mov edi, dword [ebp + 8]
mov edx, dword [eax + 0x2c]
mov ecx, dword [ecx + 0xb8]
push edi
push edx
add ecx, 0x14
call fcn.00514475
mov dword [esp + 0x3c], eax
test eax, eax
je 0x53c6c5
mov ecx, esi
call fcn.004fbe6c
mov ecx, dword [ebx + 4]
mov edx, dword [eax + 0x2c]
mov ecx, dword [ecx + 0xb8]
push edx
call fcn.004db093
mov ecx, dword [esp + 0x2c]
mov esi, eax
mov dword [esp + 0x14], esi
call fcn.004fbe6c
mov ecx, dword [eax + 0x2c]
test dword [ecx + 0x84], 0xc0000000
je 0x53c775
mov ecx, dword [ebx + 4]
mov edx, dword [esp + 0x3c]
push edx
mov ecx, dword [ecx + 0xb8]
add ecx, 0x658
call fcn.00504f26
mov dword [esp + 0x3c], eax
mov eax, dword [ebx + 4]
push esi
mov ecx, dword [eax + 0xb8]
add ecx, 0x658
call fcn.00504f26
mov dword [esp + 0x14], eax
mov eax, dword [ebx + 4]
push 0
push dword [esp + 0x30]
mov eax, dword [eax + 0xb8]
mov esi, dword [eax + 8]
mov eax, dword [esp + 0x1c]
lea ecx, [esi + 0x2c]
push dword [eax + 0x40]
call fcn.004fb226
push eax
lea ecx, [esi + 0x2c]
call fcn.004fa890
mov ecx, dword [ebx + 4]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x14]
push 0
mov ecx, dword [ecx + 0xb8]
push dword [esp + 0x30]
push dword [eax + 0x3c]
mov esi, dword [ecx + 8]
lea ecx, [esi + 0x2c]
call fcn.004fb1cf
push eax
lea ecx, [esi + 0x2c]
call fcn.004fa86d
mov ecx, dword [ebx + 4]
xor edx, edx
mov esi, dword [ebp + 0xc]
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], edx
mov dword [esp + 0x5c], edx
mov dword [esp + 0x60], edx
mov dword [esp + 0x64], edx
mov dword [esp + 0x28], eax
cmp dword [ecx + 0xa0], edx
jne 0x53c8cc
mov edx, dword [ecx + 0x48]
mov ecx, dword [ecx + 0xc]
push eax
lea eax, [esp + 0x60]
push eax
push dword [ebp + 0x18]
lea eax, [esp + 0x24]
push dword [esp + 0x30]
push esi
push edi
push eax
call fcn.00525816
test al, al
je 0x53c6c5
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x24]
mov byte [esp + 0x11], 0
mov eax, dword [eax + 0x40]
mov eax, dword [eax + 0x14]
cmp eax, dword [ecx + 0x14]
jge 0x53c930
mov edx, dword [esp + 0x18]
test edx, edx
je 0x53c851
cmp byte [edx], 9
jne 0x53cf8a
test byte [edx + 0x24], 1
je 0x53c934
cmp byte [edx], 9
mov byte [esp + 0x11], 1
jne 0x53cf8a
mov eax, dword [ebx + 4]
push 0
push dword [esp + 0x20]
mov eax, dword [eax + 0xb8]
push dword [edx + 0x40]
mov ecx, dword [eax + 8]
add ecx, 0x2c
call fcn.004fb226
mov dword [esp + 0x34], eax
mov ecx, dword [eax + 0x18]
cmp dword [ecx + 4], 0x11
jne 0x53c89a
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 0x18]
call fcn.004fc428
xor ecx, ecx
test al, al
sete cl
test ecx, ecx
je 0x53c930
mov ecx, dword [esp + 0x34]
mov ecx, dword [ecx + 0x18]
cmp dword [ecx + 4], 0x11
jne 0x53c8c2
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 0x18]
test edi, edi
je 0x53c8f1
mov dword [esp + 0x14], edi
jmp 0x53c8f7
lea eax, [esp + 0x5c]
push eax
push dword [ebp + 0x18]
lea eax, [esp + 0x2c]
push dword [esp + 0x34]
push eax
push esi
push ecx
push edi
lea eax, [esp + 0x34]
mov ecx, ebx
push eax
call fcn.0053cf90
jmp 0x53c81c
mov eax, dword [esi]
mov dword [esp + 0x14], eax
sub esp, 0x10
mov eax, esp
sub esp, 0x10
mov dword [eax + 4], ecx
mov ecx, esp
mov dword [eax], 7
mov eax, dword [ebx + 4]
mov eax, dword [eax + 0xb8]
mov esi, dword [eax + 0x10]
lea eax, [esp + 0x38]
push eax
call fcn.004fe691
push 0x283
push dword [esp + 0x38]
mov ecx, esi
call fcn.004d3390
mov edx, dword [esp + 0x18]
mov ecx, dword [ebp + 0x18]
test cl, cl
jne 0x53c945
cmp dword [ebp + 0x14], 0
je 0x53cdf4
mov eax, dword [esp + 0x5c]
test eax, eax
setne byte [esp + 0x12]
test eax, eax
je 0x53c990
test cl, cl
jne 0x53c990
mov eax, dword [ebx + 4]
sub esp, 0x10
mov ecx, esp
mov eax, dword [eax + 0xb8]
mov esi, dword [eax + 0x10]
lea eax, [esp + 0x6c]
push eax
call fcn.004fe691
sub esp, 0x10
lea eax, [esp + 0x38]
mov ecx, esp
push eax
call fcn.004fe691
push 0x5c
push edi
mov ecx, esi
call fcn.004d3390
mov edx, dword [esp + 0x18]
test edx, edx
je 0x53c99d
cmp byte [edx], 9
jne 0x53cf8a
mov eax, dword [ebx + 4]
push dword [esp + 0x20]
push dword [esp + 0x20]
mov eax, dword [eax + 0xb8]
push dword [edx + 0x3c]
mov esi, dword [eax + 8]
lea ecx, [esi + 0x2c]
call fcn.004fb1cf
push eax
lea ecx, [esi + 0x2c]
call fcn.004fa86d
mov esi, eax
mov eax, dword [esp + 0x28]
cmp eax, esi
je 0x53ca1f
mov ecx, dword [ebx + 4]
mov edx, esi
push eax
mov ecx, dword [ecx + 0xb8]
call fcn.00558d0b
test al, al
jne 0x53ca1f
sub esp, 0x10
mov eax, esp
sub esp, 0x10
mov ecx, esp
mov dword [eax + 4], esi
mov dword [eax], 0x40007
mov eax, dword [ebx + 4]
mov eax, dword [eax + 0xb8]
mov esi, dword [eax + 0x10]
lea eax, [esp + 0x38]
push eax
call fcn.005097b9
push 0xf8
push edi
mov ecx, esi
call fcn.004d3390
mov byte [esp + 0x12], 1
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x53ca30
cmp byte [ecx], 9
jne 0x53cf8a
mov eax, dword [ebx + 4]
push dword [esp + 0x20]
push dword [esp + 0x20]
mov eax, dword [eax + 0xb8]
push dword [ecx + 0x40]
mov esi, dword [eax + 8]
lea ecx, [esi + 0x2c]
call fcn.004fb226
push eax
lea ecx, [esi + 0x2c]
call fcn.004fa890
mov esi, eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x34], esi
cmp esi, eax
je 0x53cb11
xor edx, edx
mov dword [esp + 0x14], edx
cmp dword [esi + 0x14], edx
jle 0x53cb11
lea ecx, [esi + 0x18]
sub eax, esi
mov dword [esp + 0x28], ecx
mov dword [esp + 0x38], eax
mov esi, dword [ecx + eax]
mov dword [esp + 0x78], esi
mov esi, dword [ecx]
cmp dword [eax + ecx], esi
mov dword [esp + 0x74], esi
mov esi, dword [esp + 0x34]
je 0x53cac2
mov eax, dword [ebx + 4]
push dword [esp + 0x74]
mov edx, dword [esp + 0x7c]
mov ecx, dword [eax + 0xb8]
call fcn.00558d0b
test al, al
je 0x53cad5
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x38]
inc edx
add ecx, 4
mov dword [esp + 0x14], edx
mov dword [esp + 0x28], ecx
cmp edx, dword [esi + 0x14]
jge 0x53cb11
jmp 0x53ca86
mov ecx, dword [esp + 0x30]
sub esp, 0x10
mov eax, esp
sub esp, 0x10
mov dword [eax + 4], ecx
mov ecx, esp
mov dword [eax], 0x40007
mov eax, dword [ebx + 4]
mov eax, dword [eax + 0xb8]
mov esi, dword [eax + 0x10]
lea eax, [esp + 0x38]
push eax
call fcn.005097b9
push 0x5e
push edi
mov ecx, esi
call fcn.004d3390
mov byte [esp + 0x12], 1
cmp byte [esp + 0x11], 0
mov esi, dword [ebp + 0xc]
jne 0x53cb23
mov eax, dword [esi + 0xa4]
jmp 0x53cb25
xor eax, eax
push eax
mov dword [esp + 0x2c], eax
mov ecx, ebx
lea eax, [esp + 0x1c]
push eax
mov eax, dword [esi + 0xc]
shr eax, 6
and al, 1
movzx eax, al
push eax
push edi
call fcn.0052721f
push dword [esp + 0x1c]
lea eax, [esp + 0x17]
mov ecx, ebx
push dword [esp + 0x1c]
push eax
push 0
push dword [esp + 0x38]
push edi
call fcn.00528181
cmp byte [esp + 0x13], 0
mov dword [esp + 0x14], eax
jne 0x53cb70
mov ecx, esi
call fcn.004c0632
cmp byte [esp + 0x11], 0
je 0x53cb81
mov ecx, dword [esi + 0xa4]
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x20]
cmp dword [eax + 0x14], 0
jle 0x53cbaf
mov ecx, dword [ebx + 4]
lea esi, [esp + 0x18]
sub esp, 0xc
mov edi, esp
mov edx, dword [ecx + 0xb8]
mov ecx, dword [ecx + 0xc]
movsd dword es:[edi], dword [esi]
mov edx, dword [edx + 0x10]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, dword [ebp + 8]
push edi
call fcn.00535feb
mov eax, dword [ebx + 4]
mov ecx, dword [esp + 0x18]
mov edx, dword [eax + 0xb8]
test ecx, ecx
je 0x53cbc9
cmp byte [ecx], 9
jne 0x53cf8a
mov eax, dword [edx]
push ecx
lea ecx, [esp + 0x3c]
push ecx
mov ecx, edx
call dword [eax + 0xb0]
cmp dword [eax], 0
je 0x53cc0a
mov eax, dword [ebx + 4]
lea ecx, [esp + 0x40]
mov eax, dword [eax + 0xb8]
mov esi, dword [eax + 0x10]
lea eax, [esp + 0x18]
push eax
call fcn.005097b9
mov eax, ecx
mov ecx, esi
push eax
push 1
push 0x2ee
push edi
call fcn.004d34c3
mov eax, dword [esp + 0x18]
test eax, eax
je 0x53cc1b
cmp byte [eax], 9
jne 0x53cf8a
mov eax, dword [eax + 0x88]
and eax, 0xfc
cmp al, 0x4c
jne 0x53cc56
mov eax, dword [ebx + 4]
lea ecx, [esp + 0x40]
mov eax, dword [eax + 0xb8]
mov esi, dword [eax + 0x10]
lea eax, [esp + 0x18]
push eax
call fcn.005097b9
mov eax, ecx
mov ecx, esi
push eax
push 1
push 0x207
push edi
call fcn.004d34c3
mov edi, dword [esp + 0x34]
mov edx, dword [esp + 0x24]
cmp edi, edx
je 0x53cdee
cmp byte [esp + 0x12], 0
jne 0x53cdee
mov eax, dword [ebx + 4]
cmp dword [eax + 0xa0], 0
je 0x53cdee
cmp byte [esp + 0x11], 0
je 0x53ccf0
push dword [esp + 0x20]
mov eax, dword [eax + 0xb8]
push dword [esp + 0x20]
mov esi, dword [edi + 0x18]
push dword [edx + 0x18]
mov ecx, dword [eax + 8]
add ecx, 0x2c
mov byte [esp + 0x1f], 1
call fcn.004fb1cf
cmp esi, eax
jne 0x53cdee
mov eax, dword [edi + 0x14]
cmp eax, 1
jle 0x53cdee
mov edx, dword [esp + 0x24]
lea esi, [eax - 1]
sub edi, edx
lea ecx, [edx + 0x1c]
mov dl, byte [esp + 0x13]
mov eax, dword [edi + ecx]
cmp eax, dword [ecx]
lea ecx, [ecx + 4]
setne al
dec al
and dl, al
sub esi, 1
jne 0x53ccd0
test dl, dl
mov edx, dword [esp + 0x24]
jne 0x53cdee
mov ecx, dword [ebp + 0xc]
lea edi, [esp + 0x8c]
xor eax, eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
lea eax, [ecx + 0xb0]
mov esi, eax
mov dword [esp + 0x38], eax
mov eax, dword [ebx + 4]
push 0
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea esi, [esp + 0x54]
push esi
push 0
push edx
mov edx, dword [eax + 0x48]
push ecx
push dword [ebp + 8]
lea ecx, [esp + 0x80]
push ecx
mov ecx, dword [eax + 0xc]
call fcn.00525816
test al, al
je 0x53cde0
mov eax, dword [esp + 0x68]
lea esi, [esp + 0x7c]
mov dword [esp + 0x80], eax
sub esp, 0x10
mov eax, dword [esp + 0x7c]
mov edi, esp
mov dword [esp + 0x94], eax
mov ecx, 0x40010
mov eax, dword [esp + 0x80]
sub esp, 0x10
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x9c], ecx
movsd dword es:[edi], dword [esi]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x40]
movsd dword es:[edi], dword [esi]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x50]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, esp
lea esi, [esp + 0x60]
sub esp, 0x10
mov eax, esp
movsd dword es:[edi], dword [esi]
push 0x343
push dword [ebp + 8]
mov dword [eax], 7
mov dword [eax + 4], ecx
mov eax, dword [ebx + 4]
movsd dword es:[edi], dword [esi]
mov eax, dword [eax + 0xb8]
movsd dword es:[edi], dword [esi]
mov ecx, dword [eax + 0x10]
movsd dword es:[edi], dword [esi]
call fcn.004d33c3
mov edi, dword [esp + 0x38]
lea esi, [esp + 0x8c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
cmp dword [ebp + 0x14], 0
jne 0x53cdfb
mov al, 1
jmp 0x53c6c7
mov edx, dword [ebx + 4]
mov esi, dword [ebp + 0xc]
push 0x3a
mov eax, dword [edx + 0xb8]
mov eax, dword [eax + 8]
mov ecx, dword [eax + 0x84]
mov eax, dword [esi + 0xc]
and eax, 0x40
push eax
push ecx
push 0x3a
push dword [esi]
lea ecx, [edx + 0x14]
call fcn.00530942
mov dword [esp + 0x30], eax
test eax, eax
je 0x53ce38
cmp dword [eax + 8], 0x3a
jne 0x53cf8a
and dword [eax + 0x94], 0
lea edi, [eax + 0x88]
and dword [eax + 0xc], 0xbfffffff
lea esi, [esp + 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x53ce64
cmp byte [ecx], 9
jne 0x53cf8a
test dword [ecx + 0x24], 0x20000
je 0x53ce8c
cmp byte [esp + 0x11], 0
jne 0x53ce8c
mov ecx, dword [ebx + 4]
add ecx, 0x14
push 0
call fcn.0053052d
mov edi, dword [esp + 0x30]
mov ecx, eax
jmp 0x53cf1b
cmp byte [ecx], 9
jne 0x53cf8a
mov ecx, dword [ecx + 8]
call fcn.004db698
push 0xa0
mov ecx, eax
call fcn.004dc4a9
test al, al
je 0x53ced9
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x44]
call fcn.004fe691
mov eax, ecx
push eax
mov eax, dword [ebx + 4]
push 1
push 0x358
push dword [ebp + 8]
mov ecx, dword [eax + 0xb8]
mov ecx, dword [ecx + 0x10]
call fcn.004d34c3
mov edi, dword [esp + 0x30]
mov esi, dword [esp + 0x14]
and dword [edi + 0xc], 0xbfffffff
mov dword [edi + 0x94], esi
test esi, esi
je 0x53cf17
mov ecx, dword [esi + 0x14]
call fcn.004fc662
cmp eax, 0xb
je 0x53cf17
push 0
push 0xf
mov ecx, ebx
call fcn.0051ba9e
push eax
push esi
mov ecx, ebx
call fcn.0053c1dc
mov ecx, eax
jmp 0x53cf1b
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x3c]
mov eax, edx
neg eax
mov dword [esp + 0x50], edx
sbb eax, eax
xor edx, edx
and eax, dword [esp + 0x2c]
mov dword [esp + 0x54], eax
mov eax, dword [ebp + 0xc]
push edx
mov dword [esp + 0x5c], edx
and dword [eax + 0xc], 0xbfffffff
mov dword [eax + 0xa4], edx
lea edx, [esp + 0x54]
mov esi, dword [ebx + 4]
push edx
push eax
push edi
push ecx
lea ecx, [esi + 0x14]
call fcn.0053057a
push eax
push dword [esp + 0x3c]
lea ecx, [esi + 0x14]
push 0x20010
push dword [ebp + 8]
call fcn.0052efaa
mov esi, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
and dword [eax + 0xc], 0xbfffffff
mov dword [eax + 0x98], ecx
mov dword [esi], eax
jmp 0x53cdf4
call fcn.004a6d87
int3