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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5eb533
mov eax, dword fs:[0]
push eax
sub esp, 0x338
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0x344]
mov ecx, 0xce
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov eax, dword [0x65f810]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 0x14]
call fcn.00533df0
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], edx
cmp dword [ebp - 0x24], 2
jne 0x535bab
cmp dword [ebp - 0x20], 0
jne 0x535bab
mov eax, dword [ebp + 8]
add eax, 0x130
push eax
mov ecx, dword [ebp - 0x14]
call fcn.00533d80
mov ecx, dword [ebp - 0x14]
call fcn.00533df0
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], edx
lea ecx, [ebp - 0x40]
call fcn.00537880
mov dword [ebp - 4], 0
cmp dword [ebp - 0x24], 3
jne 0x535c62
cmp dword [ebp - 0x20], 0
jne 0x535c62
lea eax, [ebp - 0x40]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x150
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x144]
push eax
mov ecx, dword [edx + 0x140]
push ecx
mov ecx, dword [ebp - 0x14]
call fcn.005353f0
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0
je 0x535c27
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x338], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.005378d0
mov eax, dword [ebp - 0x338]
jmp 0x5366a4
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 0x150]
add edx, dword [ecx + 0x140]
mov eax, dword [eax + 0x154]
adc eax, dword [ecx + 0x144]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x150], edx
mov dword [ecx + 0x154], eax
mov ecx, dword [ebp - 0x14]
call fcn.00533df0
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], edx
lea ecx, [ebp - 0x74]
call fcn.0050b650
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x90]
call fcn.00510100
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xac]
call fcn.0050ff90
mov byte [ebp - 4], 3
cmp dword [ebp - 0x24], 4
jne 0x535d28
cmp dword [ebp - 0x20], 0
jne 0x535d28
lea eax, [ebp - 0xac]
push eax
lea ecx, [ebp - 0x90]
push ecx
lea edx, [ebp - 0x74]
push edx
mov eax, dword [ebp + 8]
add eax, 0x50
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x3c
push ecx
mov edx, dword [ebp + 8]
add edx, 0x28
push edx
mov eax, dword [ebp + 8]
add eax, 0x14
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp + 8]
add edx, 0x148
push edx
lea eax, [ebp - 0x40]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.00535000
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 0x148]
add edx, dword [ecx + 0x140]
mov eax, dword [eax + 0x14c]
adc eax, dword [ecx + 0x144]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x148], edx
mov dword [ecx + 0x14c], eax
mov ecx, dword [ebp - 0x14]
call fcn.00533df0
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], edx
jmp 0x535dc0
mov dword [ebp - 0xb8], 0
jmp 0x535d43
mov eax, dword [ebp - 0xb8]
add eax, 1
mov dword [ebp - 0xb8], eax
mov ecx, dword [ebp + 8]
add ecx, 0x3c
call fcn.00561460
cmp dword [ebp - 0xb8], eax
jge 0x535dc0
push 1
mov ecx, dword [ebp + 8]
add ecx, 0x50
call fcn.00560220
mov eax, dword [ebp - 0xb8]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x3c
call fcn.00569370
mov dword [ebp - 0xc4], eax
mov ecx, dword [ebp - 0xc4]
call fcn.0052da00
push edx
push eax
lea ecx, [ebp - 0x74]
call fcn.0051a780
mov eax, dword [ebp - 0xc4]
movzx ecx, byte [eax + 0x54]
push ecx
lea ecx, [ebp - 0x90]
call fcn.0052ded0
mov eax, dword [ebp - 0xc4]
mov ecx, dword [eax + 0x50]
push ecx
lea ecx, [ebp - 0xac]
call fcn.00560220
jmp 0x535d34
mov ecx, dword [ebp + 8]
add ecx, 0x64
call fcn.00526980
mov eax, dword [ebp - 0x24]
or eax, dword [ebp - 0x20]
jne 0x535e21
mov dword [ebp - 0x32c], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xac]
call fcn.0055ff90
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x90]
call fcn.0055ff90
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x74]
call fcn.0055ff90
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.005378d0
mov eax, dword [ebp - 0x32c]
jmp 0x5366a4
cmp dword [ebp - 0x24], 5
jne 0x535e2d
cmp dword [ebp - 0x20], 0
je 0x535e32
call fcn.00533110
mov ecx, dword [ebp - 0x14]
call fcn.005330c0
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0xd0]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x64
call fcn.00526b20
mov dword [ebp - 0xdc], 0
jmp 0x535e6d
mov eax, dword [ebp - 0xdc]
add eax, 1
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0xdc]
cmp eax, dword [ebp - 0xd0]
jae 0x535ebf
lea ecx, [ebp - 0x320]
call fcn.00536810
mov dword [ebp - 0x340], eax
mov eax, dword [ebp - 0x340]
mov dword [ebp - 0x344], eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x344]
push ecx
mov ecx, dword [ebp + 8]
add ecx, 0x64
call fcn.00537710
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x320]
call fcn.00510ef0
jmp 0x535e5e
push 0
push 9
mov ecx, dword [ebp + 8]
add ecx, 0x158
call fcn.0051a780
mov ecx, dword [ebp + 8]
call fcn.00514850
movzx eax, al
test eax, eax
jne 0x535ef2
push 0
push 6
mov ecx, dword [ebp + 8]
add ecx, 0x158
call fcn.0051a780
cmp dword [ebp - 0xd0], 0
jbe 0x535f1f
lea ecx, [ebp - 0xac]
call fcn.00514850
movzx eax, al
test eax, eax
jne 0x535f1f
push 0
push 0xa
mov ecx, dword [ebp + 8]
add ecx, 0x158
call fcn.0051a780
lea ecx, [ebp - 0xf8]
call fcn.00510100
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0xd0]
push eax
lea ecx, [ebp - 0xf8]
push ecx
call fcn.00532cf0
lea ecx, [ebp - 0x114]
call fcn.00510100
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x130]
call fcn.00510100
mov byte [ebp - 4], 7
mov dword [ebp - 0x13c], 0
mov ecx, dword [ebp - 0x14]
call fcn.00533df0
mov dword [ebp - 0x14c], eax
mov dword [ebp - 0x148], edx
mov eax, dword [ebp - 0x14c]
or eax, dword [ebp - 0x148]
jne 0x535f90
jmp 0x53643b
mov ecx, dword [ebp - 0x14]
call fcn.00533df0
mov dword [ebp - 0x15c], eax
mov dword [ebp - 0x158], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x18]
mov edx, dword [ecx + 8]
mov dword [ebp - 0x168], edx
mov byte [ebp - 0x171], 1
mov byte [ebp - 0x17d], 1
cmp dword [ebp - 0x148], 0
ja 0x535fd6
cmp dword [ebp - 0x14c], 0x40000000
jbe 0x535fe2
mov byte [ebp - 0x17d], 0
jmp 0x536364
mov eax, dword [ebp - 0x14c]
mov dword [ebp - 0x340], eax
mov ecx, dword [ebp - 0x340]
sub ecx, 0xe
mov dword [ebp - 0x340], ecx
cmp dword [ebp - 0x340], 0xb
ja case.0x536010.8
mov edx, dword [ebp - 0x340]
jmp dword [edx*4 + 0x5367dc]
lea ecx, [ebp - 0x190]
call fcn.00534a90
mov byte [ebp - 4], 8
lea eax, [ebp - 0x40]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x190]
call fcn.00532fe0
mov dword [ebp - 0x19c], 0
jmp 0x536054
mov eax, dword [ebp - 0x19c]
add eax, 1
mov dword [ebp - 0x19c], eax
mov ecx, dword [ebp + 8]
add ecx, 0x64
call fcn.00561460
cmp dword [ebp - 0x19c], eax
jge 0x53608a
mov eax, dword [ebp - 0x19c]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x64
call fcn.00569370
add eax, 0x10
push eax
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx + 0x18]
call fcn.00533620
jmp 0x536045
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x190]
call fcn.00534ad0
jmp 0x536364
lea ecx, [ebp - 0x1b8]
call fcn.00510100
mov byte [ebp - 4], 9
lea eax, [ebp - 0x1b8]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x64
call fcn.00561460
push eax
mov ecx, dword [ebp - 0x14]
call fcn.005351b0
lea ecx, [ebp - 0x1c8]
call fcn.00534a90
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x40]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x1c8]
call fcn.00532fe0
mov dword [ebp - 0xdc], 0
jmp 0x536105
mov eax, dword [ebp - 0xdc]
add eax, 1
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0xdc]
cmp eax, dword [ebp - 0xd0]
jae 0x536169
mov eax, dword [ebp - 0xdc]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x64
call fcn.00569370
mov dword [ebp - 0x1d4], eax
mov eax, dword [ebp - 0xdc]
push eax
lea ecx, [ebp - 0x1b8]
call fcn.00510150
mov ecx, dword [ebp - 0x1d4]
mov dl, byte [eax]
mov byte [ecx + 0x1f], dl
mov eax, dword [ebp - 0x1d4]
movzx ecx, byte [eax + 0x1f]
test ecx, ecx
je 0x536167
mov ecx, dword [ebp - 0x14]
call fcn.005344c0
mov ecx, dword [ebp - 0x1d4]
mov dword [ecx + 8], eax
jmp 0x5360f6
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x1c8]
call fcn.00534ad0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x1b8]
call fcn.0055ff90
jmp 0x536364
lea eax, [ebp - 0xf8]
push eax
mov ecx, dword [ebp - 0xd0]
push ecx
mov ecx, dword [ebp - 0x14]
call fcn.00535100
mov dword [ebp - 0xdc], 0
jmp 0x5361bd
mov eax, dword [ebp - 0xdc]
add eax, 1
mov dword [ebp - 0xdc], eax
lea ecx, [ebp - 0xf8]
call fcn.00561460
cmp dword [ebp - 0xdc], eax
jae 0x5361fa
mov eax, dword [ebp - 0xdc]
push eax
lea ecx, [ebp - 0xf8]
call fcn.00510150
movzx ecx, byte [eax]
test ecx, ecx
je 0x5361f8
mov eax, dword [ebp - 0x13c]
add eax, 1
mov dword [ebp - 0x13c], eax
jmp 0x5361ae
mov eax, dword [ebp - 0x13c]
push eax
lea ecx, [ebp - 0x114]
push ecx
call fcn.00532cf0
mov eax, dword [ebp - 0x13c]
push eax
lea ecx, [ebp - 0x130]
push ecx
call fcn.00532cf0
jmp 0x536364
lea eax, [ebp - 0x114]
push eax
mov ecx, dword [ebp - 0x13c]
push ecx
mov ecx, dword [ebp - 0x14]
call fcn.00535100
jmp 0x536364
lea eax, [ebp - 0x130]
push eax
mov ecx, dword [ebp - 0x13c]
push ecx
mov ecx, dword [ebp - 0x14]
call fcn.00535100
jmp 0x536364
mov eax, dword [ebp - 0xd0]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0xf0
push ecx
lea edx, [ebp - 0x40]
push edx
mov ecx, dword [ebp - 0x14]
call fcn.00535250
jmp 0x536364
mov eax, dword [ebp - 0xd0]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x78
push ecx
lea edx, [ebp - 0x40]
push edx
mov ecx, dword [ebp - 0x14]
call fcn.00535250
jmp 0x536364
mov eax, dword [ebp - 0xd0]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0xa0
push ecx
lea edx, [ebp - 0x40]
push edx
mov ecx, dword [ebp - 0x14]
call fcn.00535250
jmp 0x536364
mov eax, dword [ebp - 0xd0]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0xc8
push ecx
lea edx, [ebp - 0x40]
push edx
mov ecx, dword [ebp - 0x14]
call fcn.00535250
jmp 0x536364
mov dword [ebp - 0x1e4], 0
mov dword [ebp - 0x1e0], 0
jmp 0x536314
mov eax, dword [ebp - 0x1e4]
add eax, 1
mov ecx, dword [ebp - 0x1e0]
adc ecx, 0
mov dword [ebp - 0x1e4], eax
mov dword [ebp - 0x1e0], ecx
mov eax, dword [ebp - 0x1e0]
cmp eax, dword [ebp - 0x158]
ja 0x536348
jb 0x536332
mov ecx, dword [ebp - 0x1e4]
cmp ecx, dword [ebp - 0x15c]
jae 0x536348
mov ecx, dword [ebp - 0x14]
call fcn.00533070
movzx eax, al
test eax, eax
je 0x536346
call fcn.00533110
jmp 0x5362f6
mov byte [ebp - 0x171], 0
jmp 0x536364
mov byte [ebp - 0x17d], 0
mov al, byte [ebp - 0x17d]
mov byte [ebp - 0x171], al
movzx eax, byte [ebp - 0x17d]
test eax, eax
je 0x536398
movzx eax, byte [ebp - 0x171]
test eax, eax
je 0x536396
mov eax, dword [ebp - 0x148]
push eax
mov ecx, dword [ebp - 0x14c]
push ecx
mov ecx, dword [ebp + 8]
add ecx, 0x158
call fcn.0051a780
jmp 0x5363ae
mov eax, dword [ebp - 0x158]
push eax
mov ecx, dword [ebp - 0x15c]
push ecx
mov ecx, dword [ebp - 0x14]
call fcn.00536880
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + 0x130]
test ecx, ecx
jg 0x5363d7
mov edx, dword [ebp + 8]
movzx eax, byte [edx + 0x131]
cmp eax, 2
jg 0x5363d7
mov dword [ebp - 0x340], 0
jmp 0x5363e1
mov dword [ebp - 0x340], 1
mov cl, byte [ebp - 0x340]
mov byte [ebp - 0x1ed], cl
movzx eax, byte [ebp - 0x1ed]
test eax, eax
je 0x536436
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x18]
mov edx, dword [ecx + 8]
sub edx, dword [ebp - 0x168]
xor eax, eax
mov dword [ebp - 0x344], edx
mov dword [ebp - 0x340], eax
mov ecx, dword [ebp - 0x344]
cmp ecx, dword [ebp - 0x15c]
jne 0x536431
mov edx, dword [ebp - 0x340]
cmp edx, dword [ebp - 0x158]
je 0x536436
call fcn.00533110
jmp 0x535f69
mov dword [ebp - 0x1fc], 0
mov dword [ebp - 0x208], 0
mov dword [ebp - 0x214], 0
mov dword [ebp - 0xdc], 0
jmp 0x536474
mov eax, dword [ebp - 0xdc]
add eax, 1
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0xdc]
cmp eax, dword [ebp - 0x13c]
jae 0x5364ac
mov eax, dword [ebp - 0xdc]
push eax
lea ecx, [ebp - 0x130]
call fcn.00510150
movzx ecx, byte [eax]
test ecx, ecx
je 0x5364aa
mov eax, dword [ebp - 0x214]
add eax, 1
mov dword [ebp - 0x214], eax
jmp 0x536465
mov dword [ebp - 0xdc], 0
jmp 0x5364c7
mov eax, dword [ebp - 0xdc]
add eax, 1
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0xdc]
cmp eax, dword [ebp - 0xd0]
jae 0x53662e
mov eax, dword [ebp - 0xdc]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x64
call fcn.00569370
mov dword [ebp - 0x220], eax
mov eax, dword [ebp - 0xdc]
push eax
lea ecx, [ebp - 0xf8]
call fcn.00510150
movzx ecx, byte [eax]
neg ecx
sbb ecx, ecx
add ecx, 1
mov edx, dword [ebp - 0x220]
mov byte [edx + 0x1c], cl
mov eax, dword [ebp - 0x220]
movzx ecx, byte [eax + 0x1c]
test ecx, ecx
je 0x53659f
mov eax, dword [ebp - 0x220]
mov byte [eax + 0x1d], 0
mov byte [ebp - 0x229], 0
mov eax, dword [ebp - 0x208]
push eax
lea ecx, [ebp - 0x74]
call fcn.0052de90
mov ecx, dword [ebp - 0x220]
mov edx, dword [eax]
mov dword [ecx], edx
mov eax, dword [eax + 4]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0x208]
push eax
lea ecx, [ebp - 0xac]
call fcn.00560ec0
mov ecx, dword [ebp - 0x220]
mov edx, dword [eax]
mov dword [ecx + 0xc], edx
mov eax, dword [ebp - 0x208]
push eax
lea ecx, [ebp - 0x90]
call fcn.00510150
mov ecx, dword [ebp - 0x220]
mov dl, byte [eax]
mov byte [ecx + 0x1e], dl
mov eax, dword [ebp - 0x208]
add eax, 1
mov dword [ebp - 0x208], eax
jmp 0x53660a
mov eax, dword [ebp - 0x1fc]
push eax
lea ecx, [ebp - 0x114]
call fcn.00510150
movzx ecx, byte [eax]
neg ecx
sbb ecx, ecx
add ecx, 1
mov edx, dword [ebp - 0x220]
mov byte [edx + 0x1d], cl
mov eax, dword [ebp - 0x1fc]
push eax
lea ecx, [ebp - 0x130]
call fcn.00510150
mov cl, byte [eax]
mov byte [ebp - 0x229], cl
mov eax, dword [ebp - 0x1fc]
add eax, 1
mov dword [ebp - 0x1fc], eax
mov eax, dword [ebp - 0x220]
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [ebp - 0x220]
mov byte [eax + 0x1e], 0
cmp dword [ebp - 0x214], 0
je 0x536629
movzx eax, byte [ebp - 0x229]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x118
call fcn.0052ded0
jmp 0x5364b8
mov dword [ebp - 0x2f8], 0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x130]
call fcn.0055ff90
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x114]
call fcn.0055ff90
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xf8]
call fcn.0055ff90
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xac]
call fcn.0055ff90
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x90]
call fcn.0055ff90
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x74]
call fcn.0055ff90
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.005378d0
mov eax, dword [ebp - 0x2f8]
push edx
mov ecx, ebp
push eax
lea edx, [0x5366d8]
call fcn.00584916
pop eax
pop edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x344
cmp ebp, esp
call fcn.005848f3
mov esp, ebp
pop ebp
ret 4