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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x560fa6
mov eax, dword fs:[0]
push eax
sub esp, 0x348
push ebx
push esi
push edi
mov eax, dword [0x569040]
xor eax, esp
push eax
lea eax, [esp + 0x358]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
call edx
lea ecx, [eax + 0x3c0]
push 3
lea eax, [esp + 0x2c]
push eax
call fcn.005208d6
mov dword [esp + 0x360], 0
mov ecx, dword [esi + 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
push ebx
lea edx, [esp + 0x3c]
lea ecx, [eax + 0x3c0]
push edx
call fcn.0052ba2d
mov byte [esp + 0x360], 1
mov eax, dword [ebx + 0x7c]
and eax, 0xff
cmp eax, 7
jae 0x6058ca
cmp eax, 4
jb 0x5bfcab
movzx ecx, byte [ebx + 0x7c]
cmp ecx, 5
jb 0x5c1539
mov edx, dword [ebx]
shr edx, 8
test dl, 1
jne 0x605916
test dword [ebx + 0x80], 0x40000
mov byte [ebx + 0x7c], 6
jne 0x540768
mov esi, dword [ebx + 0x20]
mov dword [esp + 0x18], esi
test esi, esi
je 0x53c106
cmp byte [esi], 4
jne 0x5bfcc4
mov edi, dword [ebx + 0x5c]
mov eax, esi
mov dword [esp + 0x10], edi
call fcn.00520cb6
mov ecx, dword [edi + 0x2c]
mov edx, dword [ebp + 8]
mov dword [esp + 0x20], ecx
mov ecx, dword [edx + 0x10]
mov dword [esp + 0x1c], eax
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
call edx
mov edi, eax
mov eax, ebx
call fcn.0052cce6
test al, al
jne 0x54c054
mov edi, dword [ebp + 8]
mov eax, dword [edi]
mov edx, dword [eax]
lea ecx, [esp + 0x24]
push ecx
push ebx
mov ecx, edi
mov dword [esp + 0x2c], 0
call edx
cmp byte [ebx + 0x7d], 3
je 0x53c371
mov eax, dword [ebx + 0x58]
mov edx, dword [edi + 0x10]
mov ecx, dword [esp + 0x10]
push eax
lea eax, [esp + 0x58]
push eax
call fcn.0053c6c9
mov byte [esp + 0x360], 4
mov ecx, dword [esp + 0xe4]
mov eax, dword [esp + 0xe0]
cmp eax, 0xffffffff
je 0x53c733
test eax, eax
je 0x53c6b2
mov ecx, dword [esp + ecx*4 + 0x60]
push ecx
push edi
mov ecx, esi
mov edx, ebx
call fcn.0053da72
mov ecx, dword [esp + 0xe4]
inc ecx
mov dword [esp + 0xe4], ecx
mov eax, dword [esp + 0xe0]
cmp ecx, eax
jb 0x53c18b
mov eax, dword [esp + 0x54]
lea edx, [esp + 0x60]
push edx
mov edx, dword [eax + 4]
lea ecx, [esp + 0x58]
call edx
xor ecx, ecx
mov dword [esp + 0xe0], eax
mov dword [esp + 0xe4], ecx
jmp 0x53c18b
cmp byte [ebx + 0x7d], 5
je 0x53c4fa
test dword [ebx + 0x80], 0x40000
jne 0x53c4fa
mov eax, dword [ebx + 0x58]
mov edx, dword [edi + 0x10]
push eax
lea ecx, [esp + 0x198]
push ecx
mov ecx, dword [esp + 0x18]
call fcn.0053c75a
mov byte [esp + 0x360], 5
mov ecx, dword [esp + 0x224]
mov eax, dword [esp + 0x220]
jmp 0x53cc82
mov byte [esp + 0x360], 1
mov esi, 0x41cc10
mov dword [esp + 0x54], esi
mov byte [esp + 0x360], 0xc
mov eax, dword [esp + 0xe8]
mov edx, dword [esp + 0xec]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0xc]
call eax
mov byte [esp + 0x360], 1
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0x10]
mov eax, dword [ebx + 0x58]
mov edi, 0x41cc84
mov dword [esp + 0xf8], ecx
mov ecx, dword [esp + 0x10]
xor edx, edx
mov dword [esp + 0x54], edi
mov dword [esp + 0xf4], edi
mov dword [esp + 0xfc], ecx
mov dword [esp + 0x180], 0xffffffff
mov dword [esp + 0x184], edx
mov byte [esp + 0x360], 0xd
mov ecx, dword [ecx + 0x2c]
mov dword [esp + 0xf4], esi
mov dword [esp + 0x188], ecx
mov dword [esp + 0x18c], edx
mov byte [esp + 0x360], 0xe
mov dword [esp + 0xf4], 0x41e720
mov dword [esp + 0x190], eax
mov byte [esp + 0x360], 0xf
mov ecx, dword [esp + 0x184]
mov eax, dword [esp + 0x180]
cmp eax, 0xffffffff
jne 0x53c4b5
mov eax, dword [esp + 0xf4]
lea edx, [esp + 0x100]
push edx
mov edx, dword [eax + 4]
lea ecx, [esp + 0xf8]
call edx
xor ecx, ecx
mov dword [esp + 0x180], eax
mov dword [esp + 0x184], ecx
test eax, eax
jne 0x576727
mov byte [esp + 0x360], 1
mov dword [esp + 0xf4], esi
mov byte [esp + 0x360], 0x11
mov eax, dword [esp + 0x188]
mov edx, dword [esp + 0x18c]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0xc]
call eax
mov byte [esp + 0x360], 1
mov dword [esp + 0xf4], edi
cmp byte [ebx + 0x7d], 2
je 0x5768e9
mov eax, dword [ebx + 0x38]
test eax, eax
je 0x53c52b
mov eax, dword [eax + 8]
test eax, eax
je 0x53c51b
cmp byte [eax], 3
jne 0x605a08
test dword [eax + 0x80], 0x800
jne 0x605a0d
mov byte [ebx + 0x7c], 7
or dword [ebx + 0x7c], 0x10000
mov byte [esp + 0x360], 0
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
mov eax, 0x402378
mov dword [esp + 0x38], eax
mov dword [edx], ecx
mov dword [esp + 0x360], 0xffffffff
mov edx, dword [esp + 0x30]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x2c]
mov dword [edx], eax
mov ecx, dword [esp + 0x358]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov byte [esp + 0x360], 1
lea eax, [esp + 0x54]
push eax
call fcn.0053ab4c
jmp 0x53c371
mov edx, dword [esp + 0x54]
mov eax, dword [edx + 4]
lea ecx, [esp + 0x60]
push ecx
lea ecx, [esp + 0x58]
call eax
xor ecx, ecx
mov dword [esp + 0xe0], eax
mov dword [esp + 0xe4], ecx
jmp 0x53c194
cmp eax, 0xffffffff
je 0x53cd73
test eax, eax
je 0x53d1f7
mov eax, dword [esp + ecx*4 + 0x1a0]
mov ecx, dword [ebp + 8]
push eax
push ecx
mov ecx, esi
mov edi, ebx
call fcn.0053c96c
mov ecx, dword [esp + 0x224]
inc ecx
mov dword [esp + 0x224], ecx
mov eax, dword [esp + 0x220]
cmp ecx, eax
jae 0x53ccc7
mov edi, dword [ebp + 8]
jmp 0x53cc82
mov eax, dword [esp + 0x194]
lea edx, [esp + 0x1a0]
push edx
mov edx, dword [eax + 4]
lea ecx, [esp + 0x198]
call edx
xor ecx, ecx
mov dword [esp + 0x220], eax
mov dword [esp + 0x224], ecx
jmp 0x53ccc2
mov eax, dword [esp + 0x194]
lea edx, [esp + 0x1a0]
push edx
mov edx, dword [eax + 4]
lea ecx, [esp + 0x198]
call edx
xor ecx, ecx
mov dword [esp + 0x220], eax
mov dword [esp + 0x224], ecx
jmp 0x53cc8b
mov byte [esp + 0x360], 1
lea ecx, [esp + 0x194]
call fcn.0053aa7b
mov eax, dword [ebx + 0x58]
mov edx, dword [edi + 0x10]
mov ecx, dword [esp + 0x10]
push eax
lea eax, [esp + 0x238]
push eax
call fcn.0053d18d
mov byte [esp + 0x360], 7
mov edi, dword [fcn.00401434]
mov eax, dword [esp + 0x2c0]
cmp eax, 0xffffffff
je 0x53d56e
test eax, eax
je 0x53d37c
mov ecx, dword [esp + 0x2c4]
mov ecx, dword [esp + ecx*4 + 0x2d4]
mov eax, ecx
and eax, 0xff000000
cmp eax, 0x6000000
jne 0x54be3e
cmp ecx, eax
je 0x54be3e
cmp byte [0x569050], 0
jne 0x605965
mov edx, dword [esp + 0x2c4]
mov eax, dword [esp + edx*4 + 0x2d4]
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
lea esi, [esp + 0x34]
push esi
push eax
mov eax, dword [edx + 0x78]
push ecx
call eax
test eax, eax
jl 0x605971
push 0
push 0
call edi
cmp byte [0x569050], 0
jne 0x60598d
mov edx, dword [esp + 0x10]
mov ecx, dword [ebp + 8]
mov dword [esp + 0x50], edx
mov edx, dword [esp + 0x14]
mov eax, edx
and eax, 0xff000000
mov dword [esp + 0x48], 0x41cb58
mov dword [esp + 0x4c], ecx
cmp eax, 0x1000000
je 0x54bea8
cmp eax, 0x2000000
jne 0x53d32e
push 0
push edx
lea eax, [esp + 0x50]
push eax
push ecx
call fcn.0053b317
test eax, eax
je 0x53d32e
cmp byte [eax], 5
jne 0x53d32e
mov eax, dword [eax + 8]
test eax, eax
je 0x53d324
cmp byte [eax], 3
jne 0x5bfcc4
cmp byte [eax + 0x7d], 3
jne 0x6059d3
mov eax, dword [esp + 0x2c4]
inc eax
mov dword [esp + 0x2c4], eax
cmp eax, dword [esp + 0x2c0]
jb 0x53d231
mov edx, dword [esp + 0x234]
mov eax, dword [edx + 4]
lea ecx, [esp + 0x240]
push ecx
lea ecx, [esp + 0x238]
call eax
mov dword [esp + 0x2c0], eax
mov dword [esp + 0x2c4], 0
jmp 0x53d231
mov byte [esp + 0x360], 1
lea ecx, [esp + 0x234]
call fcn.0053aa7b
mov esi, dword [ebp + 8]
mov edx, dword [esi + 0x10]
mov edi, dword [ebx + 0x58]
lea ecx, [esp + 0x54]
push ecx
mov ecx, dword [esp + 0x14]
call fcn.0053a9fc
mov byte [esp + 0x360], 9
mov dword [esp + 0x54], 0x41f578
mov dword [esp + 0xf0], edi
mov byte [esp + 0x360], 0xa
mov ecx, dword [esp + 0xe4]
mov eax, dword [esp + 0xe0]
mov edi, dword [esp + 0x18]
jmp 0x53d3e3
cmp eax, 0xffffffff
je 0x53d442
test eax, eax
je 0x53c3be
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + ecx*4 + 0x60]
push eax
push ecx
push edi
mov edx, ebx
mov ecx, esi
call fcn.00549ff8
mov ecx, dword [esp + 0xe4]
inc ecx
mov dword [esp + 0xe4], ecx
mov eax, dword [esp + 0xe0]
cmp ecx, eax
jb 0x53d3e3
mov eax, dword [esp + 0x54]
lea edx, [esp + 0x60]
push edx
mov edx, dword [eax + 4]
lea ecx, [esp + 0x58]
call edx
xor ecx, ecx
mov dword [esp + 0xe0], eax
mov dword [esp + 0xe4], ecx
jmp 0x53d3e3
mov eax, dword [esp + 0x54]
lea edx, [esp + 0x60]
push edx
mov edx, dword [eax + 4]
lea ecx, [esp + 0x58]
call edx
xor ecx, ecx
mov dword [esp + 0xe0], eax
mov dword [esp + 0xe4], ecx
jmp 0x53d3e8
mov edx, dword [esp + 0x234]
mov eax, dword [edx + 4]
lea ecx, [esp + 0x240]
push ecx
lea ecx, [esp + 0x238]
call eax
mov dword [esp + 0x2c0], eax
mov dword [esp + 0x2c4], 0
jmp 0x53d241
cmp byte [ebx + 0x7d], 4
je 0x53c0f2
mov byte [ebx + 0x7c], 7
or dword [ebx + 0x7c], 0x10000
mov byte [esp + 0x360], 0
lea edx, [esp + 0x38]
push edx
call fcn.0052bb19
mov dword [esp + 0x360], 0xffffffff
lea eax, [esp + 0x28]
push eax
call fcn.0052bb19
mov ecx, dword [esp + 0x358]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp eax, 0xa000000
jne 0x5bfcc9
cmp ecx, eax
je 0x5bfcc9
cmp byte [0x569050], 0
jne 0x60599c
mov ecx, dword [esp + 0x2c4]
mov eax, dword [esp + ecx*4 + 0x2d4]
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx]
push 0
push 0
push 0
push 0
push 0
lea esi, [esp + 0x28]
push esi
push eax
mov eax, dword [edx + 0x7c]
push ecx
call eax
test eax, eax
jl 0x6059a8
push 0
push 0
call edi
cmp byte [0x569050], 0
je 0x53d2c9
jmp 0x6059c4
push 0
push edx
lea edx, [esp + 0x50]
push edx
call fcn.0053df92
jmp 0x53d30b
mov eax, dword [ebx + 0x38]
mov edi, dword [eax + 8]
test edi, edi
je 0x54c067
cmp byte [edi], 3
jne 0x605960
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
mov edx, dword [eax]
push 7
mov ecx, eax
mov eax, dword [edx + 0x44]
push edi
call eax
mov eax, dword [edi + 0x74]
mov dword [ebx + 0x74], eax
mov ecx, dword [edi + 0x80]
and ecx, 0x8000
cmp ecx, 0x8000
sete al
movzx edx, al
shl edx, 0xf
xor edx, dword [ebx + 0x80]
and edx, 0x8000
xor dword [ebx + 0x80], edx
jmp 0x53c13d
mov eax, dword [esp + ecx*4 + 0x100]
mov ecx, dword [esp + 0x18]
push eax
push ecx
mov ecx, dword [ebp + 8]
mov edx, ebx
call fcn.00576414
mov ecx, dword [esp + 0x184]
inc ecx
mov dword [esp + 0x184], ecx
mov eax, dword [esp + 0x180]
cmp ecx, eax
jb 0x53c485
mov eax, dword [esp + 0xf4]
lea edx, [esp + 0x100]
push edx
mov edx, dword [eax + 4]
lea ecx, [esp + 0xf8]
call edx
xor ecx, ecx
mov dword [esp + 0x180], eax
mov dword [esp + 0x184], ecx
jmp 0x53c485
mov edi, dword [ebx + 0x18]
xor eax, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], eax
cmp edi, eax
je 0x5bfce1
mov esi, dword [ebp + 8]
jmp 0x576a08
cmp dword [esp + 0x10], 0
jne 0x576a3f
mov ecx, dword [edi]
and ecx, 0xf000
cmp ecx, 0x5000
jne 0x576a3f
mov ecx, dword [edi + 0x40]
cmp dword [ecx + 8], 2
jne 0x576a3f
mov eax, dword [ecx + 0xc]
test eax, eax
je 0x576a3f
cmp byte [eax], 5
jne 0x576a3f
mov eax, dword [eax + 8]
test eax, eax
je 0x576956
cmp byte [eax], 3
jne 0x5bfcc4
test byte [eax + 0x7f], 1
je 0x576a3f
test eax, eax
je 0x57696d
cmp byte [eax], 3
jne 0x5bfcc4
mov edx, dword [eax + 0x80]
and edx, 0x1ff
cmp edx, 0xf
jne 0x576a3f
mov ecx, dword [ecx + 0x10]
test ecx, ecx
je 0x576a3f
cmp byte [ecx], 5
jne 0x5769c5
mov eax, dword [ecx + 8]
test eax, eax
je 0x5769a2
cmp byte [eax], 3
jne 0x5bfcc4
test byte [eax + 0x7f], 1
je 0x5769c5
test eax, eax
je 0x5769b5
cmp byte [eax], 3
jne 0x5bfcc4
mov eax, dword [eax + 0x80]
and eax, 0x1ff
cmp eax, 0xe
je 0x576a02
test ecx, ecx
je 0x576a3f
cmp byte [ecx], 5
jne 0x576a3f
mov eax, dword [ecx + 8]
test eax, eax
je 0x5769de
cmp byte [eax], 3
jne 0x5bfcc4
test byte [eax + 0x7f], 1
je 0x576a3f
test eax, eax
je 0x5769f1
cmp byte [eax], 3
jne 0x5bfcc4
mov ecx, dword [eax + 0x80]
and ecx, 0x1ff
cmp ecx, 0xd
jne 0x576a3f
mov dword [esp + 0x10], edi
jmp 0x576a3f
cmp byte [edi], 0xa
jne 0x576a3f
mov ecx, dword [esi + 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
mov eax, dword [eax + 4]
mov ecx, dword [eax]
lea edx, [esp + 0x18]
push edx
push 0x13
push eax
mov eax, dword [ecx + 0x24]
call eax
mov ecx, dword [edi + 4]
cmp ecx, dword [esp + 0x18]
je 0x576a8a
mov eax, dword [edi + 0x4c]
and al, 0x3f
cmp al, 1
je 0x576906
mov edi, dword [edi + 0xc]
test edi, edi
jne 0x576a08
mov eax, dword [esp + 0x14]
test eax, eax
je 0x5bfce1
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x5bfce1
mov edx, dword [eax + 0x4c]
and edx, 0xffffffc8
or edx, 8
mov dword [eax + 0x4c], edx
mov eax, dword [eax]
shr eax, 8
test al, 1
jne 0x5bfcd6
mov ecx, dword [ecx]
shr ecx, 8
test cl, 1
je 0x53c504
jmp 0x5bfcd6
cmp dword [esp + 0x14], 0
jne 0x576a3f
mov edx, dword [edi]
and edx, 0xf000
cmp edx, 0x5000
jne 0x576a3f
mov dword [esp + 0x14], edi
jmp 0x576a3f
mov ecx, dword [esi + 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x70]
push ebx
call eax
jmp 0x53c0c3
call 0x627dbf
mov dword [esp + 0x14], 0
jmp 0x53d2c9
or dword [ebx], 0x300
jmp 0x53c504
mov byte [ebx + 0x7d], 1
jmp 0x53c504
mov edx, ebx
mov ecx, esi
call fcn.0053bccf
jmp 0x53c0d0