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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x84
mov ebx, dword [esp + 0xa0]
mov ebp, dword [esp + 0x98]
mov ecx, dword [ebp + 0x40]
mov eax, ecx
or eax, 8
mov dword [ebp + 0x40], eax
mov eax, dword [ebx]
test eax, eax
je 0x530e05
mov ecx, dword [ebp + 0x50]
test ecx, ecx
jne 0x530e4e
jmp 0x530e8b
mov eax, dword [esp + 0x9c]
or ecx, 9
mov dword [ebp + 0x40], ecx
test eax, eax
je 0x530e3c
mov dword [ebp + 0x50], 0
mov eax, dword [ebp + 0x68]
test eax, eax
je 0x530e35
mov eax, dword [eax + 0x20]
test eax, eax
je 0x530e35
lea ecx, [ebp + 0x6c]
push ecx
push ebp
call eax
add esp, 8
mov dword [ebp + 0x68], 0
mov dword [ebx], 2
mov eax, 2
mov ecx, dword [ebp + 0x50]
test ecx, ecx
je 0x530e8b
cmp dword [ebp + 0x68], 0
je 0x530e8b
mov dword [ebx], 5
lea eax, [ebx + 0x18]
push eax
push ebp
call dword [ecx + 4]
add esp, 8
test eax, eax
je 0x531c03
cmp eax, 0xffffffdb
je 0x5313b7
push 0xeeed34
push 0xfffffffffffffff8
push ebp
call fcn.00539720
add esp, 0xc
jmp 0x531c03
cmp eax, 4
je 0x531383
cmp eax, 3
je 0x530eca
cmp eax, 2
jne 0x531bee
mov eax, dword [ebp + 0x10c]
mov dword [ebx + 0x208], eax
mov eax, dword [ebp + 0x110]
mov dword [ebx + 0x20c], eax
mov dword [ebp + 0x10c], 0
mov dword [ebx], 3
cmp dword [ebp + 0x11428], 0
je 0x530f1c
mov edi, dword [ebp + 0x1142c]
mov esi, dword [ebp + 0x11430]
mov dword [ebp + 0x1142c], 0
mov dword [ebp + 0x11430], 0
push 0
push 0
push esi
push edi
push ebp
call fcn.005460c0
add esp, 0x14
test eax, eax
je 0x530f30
cmp eax, 0xffffffdb
jne 0x530f5d
mov dword [ebp + 0x1142c], edi
mov dword [ebp + 0x11430], esi
jmp 0x5313b7
mov eax, dword [ebp + 0x38]
test eax, eax
je 0x530f7c
push eax
call fcn.007ddf80
add esp, 4
mov edi, eax
jmp 0x530fac
mov eax, dword [ebp + 0x10c]
test eax, eax
je 0x530f42
push ebp
push eax
call dword [ebp + 0xc]
add esp, 8
mov dword [ebp + 0x10c], edi
mov dword [ebp + 0x110], esi
mov dword [ebp + 0x11428], 0
jmp 0x53137d
push ebp
push edi
mov esi, eax
call dword [ebp + 0xc]
add esp, 8
mov dword [ebp + 0x11428], 0
push 0xeeee92
push esi
jmp 0x531348
mov eax, dword [0x822334]
xor edi, edi
test eax, eax
je 0x530fac
mov esi, 0x822338
nop dword [eax]
mov eax, dword [eax]
test eax, eax
je 0x530fab
push eax
call fcn.007ddf80
add esp, 4
add edi, eax
inc edi
mov eax, dword [esi]
add esi, 4
test eax, eax
jne 0x530f90
dec edi
mov dword [esp + 0x20], edi
mov eax, dword [ebp + 0x3c]
test eax, eax
je 0x531119
push eax
call fcn.007ddf80
add esp, 4
mov esi, eax
mov dword [esp + 4], esi
mov eax, dword [ebp + 0x130]
test eax, eax
je 0x531161
push eax
call fcn.007ddf80
add esp, 4
mov esi, eax
mov dword [esp + 8], esi
mov eax, dword [ebp + 0xf8]
test eax, eax
je 0x5311b1
push eax
call fcn.007ddf80
add esp, 4
mov esi, eax
mov dword [esp + 0xc], esi
mov eax, dword [ebp + 0x134]
test eax, eax
je 0x531201
push eax
call fcn.007ddf80
add esp, 4
mov esi, eax
mov dword [esp + 0x10], esi
mov eax, dword [ebp + 0xfc]
test eax, eax
je 0x531251
push eax
call fcn.007ddf80
add esp, 4
mov esi, eax
mov dword [esp + 0x14], esi
mov eax, dword [ebp + 0x138]
test eax, eax
je 0x5312a1
push eax
call fcn.007ddf80
add esp, 4
mov esi, eax
mov dword [esp + 0x18], esi
mov eax, dword [ebp + 0x100]
test eax, eax
je 0x5312f1
push eax
call fcn.007ddf80
add esp, 4
mov esi, eax
mov dword [esp + 0x1c], esi
mov eax, dword [ebp + 0x13c]
xor esi, esi
mov edi, 0
test eax, eax
je 0x531094
push eax
call fcn.007ddf80
add esp, 4
mov edi, eax
mov eax, dword [ebp + 0x104]
test eax, eax
je 0x5310a9
push eax
call fcn.007ddf80
add esp, 4
mov esi, eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x20]
add eax, ecx
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
add ecx, edx
add ecx, eax
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
add eax, edx
add eax, dword [esp + 0x18]
add eax, ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x30], edi
add ecx, edi
add eax, ecx
mov dword [esp + 0x34], esi
add esi, eax
add esi, 0x3e
push ebp
push esi
call dword [ebp + 4]
add esp, 8
test eax, eax
je 0x531341
mov edi, eax
inc eax
mov byte [edi], 0x14
push 0x10
push eax
call fcn.0052b300
add esp, 8
test eax, eax
je 0x53151a
push 0xeeee64
push 0xffffffffffffffcf
jmp 0x531348
call fcn.0052fc90
xor esi, esi
test eax, eax
je 0x530fc6
mov edi, eax
mov eax, dword [eax]
test eax, eax
je 0x530fc6
add edi, 4
xor esi, esi
nop dword [eax]
mov eax, dword [eax]
test eax, eax
je 0x53115b
push eax
call fcn.007ddf80
add esp, 4
add esi, eax
inc esi
mov eax, dword [edi]
add edi, 4
test eax, eax
jne 0x531140
dec esi
jmp 0x530fc6
call fcn.0054aea0
xor esi, esi
test eax, eax
je 0x530fe3
mov edi, eax
mov eax, dword [eax]
test eax, eax
je 0x530fe3
add edi, 4
xor esi, esi
nop word cs:[eax + eax]
mov eax, dword [eax]
test eax, eax
je 0x5311ab
push eax
call fcn.007ddf80
add esp, 4
add esi, eax
inc esi
mov eax, dword [edi]
add edi, 4
test eax, eax
jne 0x531190
dec esi
jmp 0x530fe3
call fcn.0054aea0
xor esi, esi
test eax, eax
je 0x531000
mov edi, eax
mov eax, dword [eax]
test eax, eax
je 0x531000
add edi, 4
xor esi, esi
nop word cs:[eax + eax]
mov eax, dword [eax]
test eax, eax
je 0x5311fb
push eax
call fcn.007ddf80
add esp, 4
add esi, eax
inc esi
mov eax, dword [edi]
add edi, 4
test eax, eax
jne 0x5311e0
dec esi
jmp 0x531000
call fcn.005391f0
xor esi, esi
test eax, eax
je 0x53101d
mov edi, eax
mov eax, dword [eax]
test eax, eax
je 0x53101d
add edi, 4
xor esi, esi
nop word cs:[eax + eax]
mov eax, dword [eax]
test eax, eax
je 0x53124b
push eax
call fcn.007ddf80
add esp, 4
add esi, eax
inc esi
mov eax, dword [edi]
add edi, 4
test eax, eax
jne 0x531230
dec esi
jmp 0x53101d
call fcn.005391f0
xor esi, esi
test eax, eax
je 0x53103a
mov edi, eax
mov eax, dword [eax]
test eax, eax
je 0x53103a
add edi, 4
xor esi, esi
nop word cs:[eax + eax]
mov eax, dword [eax]
test eax, eax
je 0x53129b
push eax
call fcn.007ddf80
add esp, 4
add esi, eax
inc esi
mov eax, dword [edi]
add edi, 4
test eax, eax
jne 0x531280
dec esi
jmp 0x53103a
push ebp
call fcn.0054ae50
add esp, 4
xor esi, esi
test eax, eax
je 0x531057
mov edi, eax
mov eax, dword [eax]
test eax, eax
je 0x531057
add edi, 4
xor esi, esi
nop word cs:[eax + eax]
mov eax, dword [eax]
test eax, eax
je 0x5312eb
push eax
call fcn.007ddf80
add esp, 4
add esi, eax
inc esi
mov eax, dword [edi]
add edi, 4
test eax, eax
jne 0x5312d0
dec esi
jmp 0x531057
push ebp
call fcn.0054ae50
add esp, 4
xor esi, esi
test eax, eax
je 0x531074
mov edi, eax
mov eax, dword [eax]
test eax, eax
je 0x531074
add edi, 4
xor esi, esi
nop word cs:[eax + eax]
mov eax, dword [eax]
test eax, eax
je 0x53133b
push eax
call fcn.007ddf80
add esp, 4
add esi, eax
inc esi
mov eax, dword [edi]
add edi, 4
test eax, eax
jne 0x531320
dec esi
jmp 0x531074
push 0xeeee4a
push 0xfffffffffffffffa
push ebp
call fcn.00539720
add esp, 0xc
test eax, eax
je 0x53137d
cmp eax, 0xffffffdb
je 0x5313b7
mov eax, dword [ebx + 0x208]
mov dword [ebp + 0x10c], eax
mov eax, dword [ebx + 0x20c]
mov dword [ebp + 0x110], eax
mov dword [ebx], 0
jmp 0x53150c
mov dword [ebx], 4
mov eax, ebx
add ebx, 0x200
lea edi, [eax + 0x204]
mov esi, eax
lea eax, [eax + 8]
push eax
push 0
push 0
push 0
push edi
push ebx
push 0x14
push ebp
call fcn.0053ba30
add esp, 0x20
test eax, eax
je 0x5313c5
cmp eax, 0xffffffdb
jne 0x5314dc
and byte [ebp + 0x40], 0xf7
mov eax, 0xffffffdb
jmp 0x531c4d
mov eax, dword [ebp + 0xd4]
test eax, eax
je 0x5313d7
push ebp
push eax
call dword [ebp + 0xc]
add esp, 8
mov eax, dword [ebx]
mov dword [ebp + 0xd4], eax
mov ecx, dword [edi]
mov dword [ebp + 0xd8], ecx
cmp ecx, 0x11
jb 0x5314ca
mov dword [esp + 0x38], eax
mov dword [esp + 0x40], ecx
add eax, 0x11
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x60]
lea ecx, [esp + 0x80]
lea edi, [esp + 0x38]
push eax
push ecx
push edi
call fcn.0053a190
add esp, 0xc
test eax, eax
jne 0x5314ca
lea eax, [esp + 0x5c]
lea ecx, [esp + 0x7c]
push eax
push ecx
push edi
call fcn.0053a190
add esp, 0xc
test eax, eax
jne 0x5314ca
lea eax, [esp + 0x58]
lea ecx, [esp + 0x78]
push eax
push ecx
push edi
call fcn.0053a190
add esp, 0xc
test eax, eax
jne 0x5314ca
lea eax, [esp + 0x54]
lea ecx, [esp + 0x74]
push eax
push ecx
push edi
call fcn.0053a190
add esp, 0xc
test eax, eax
jne 0x5314ca
lea eax, [esp + 0x48]
lea ecx, [esp + 0x68]
push eax
push ecx
push edi
call fcn.0053a190
add esp, 0xc
test eax, eax
jne 0x5314ca
lea eax, [esp + 0x44]
lea ecx, [esp + 0x64]
push eax
push ecx
push edi
call fcn.0053a190
add esp, 0xc
test eax, eax
jne 0x5314ca
lea eax, [esp + 0x50]
lea ecx, [esp + 0x70]
push eax
push ecx
push edi
call fcn.0053a190
add esp, 0xc
test eax, eax
jne 0x5314ca
lea eax, [esp + 0x4c]
lea ecx, [esp + 0x6c]
push eax
push ecx
push edi
call fcn.0053a190
add esp, 0xc
test eax, eax
je 0x531ae6
mov ebx, esi
mov dword [esi], 5
mov eax, 0xfffffffb
jmp 0x531c03
mov eax, dword [ebp + 0x10c]
test eax, eax
je 0x5314ee
push ebp
push eax
call dword [ebp + 0xc]
add esp, 8
mov eax, dword [esi + 0x208]
mov dword [ebp + 0x10c], eax
mov eax, dword [esi + 0x20c]
mov dword [ebp + 0x110], eax
mov dword [esi], 0
and byte [ebp + 0x40], 0xf6
mov eax, 0xffffffff
jmp 0x531c4d
mov dword [esp + 0x24], esi
lea eax, [edi + 0x11]
mov ecx, dword [ebp + 0x38]
mov dword [esp + 0x28], ecx
mov esi, dword [esp + 0x20]
push esi
mov dword [esp + 4], eax
push eax
call fcn.00539870
add esp, 8
cmp dword [esp + 0x28], 0
mov dword [esp + 0x2c], edi
je 0x531560
lea eax, [edi + 0x15]
push esi
push dword [ebp + 0x38]
push eax
call fcn.007de188
add esp, 0xc
lea eax, [edi + esi]
add eax, 0x15
mov dword [esp], eax
jmp 0x5315bf
mov eax, dword [0x822334]
test eax, eax
je 0x5315b7
mov esi, edi
add esi, 0x15
mov ebp, 0x822338
mov ebx, dword [eax]
test ebx, ebx
je 0x5315a0
push ebx
call fcn.007ddf80
add esp, 4
mov edi, eax
push eax
push ebx
push esi
call fcn.007de188
add esp, 0xc
mov byte [esi + edi], 0x2c
add esi, edi
inc esi
mov eax, dword [ebp]
add ebp, 4
test eax, eax
jne 0x531573
mov eax, dword [esp + 0x20]
add eax, 4
mov ebp, dword [esp + 0x98]
mov ebx, dword [esp + 0xa0]
jmp 0x5315bc
mov eax, 4
add dword [esp], eax
mov esi, dword [esp + 4]
cmp dword [ebp + 0x3c], 0
je 0x5315f1
push esi
mov edi, dword [esp + 4]
push edi
call fcn.00539870
add esp, 8
lea eax, [edi + 4]
push esi
push dword [ebp + 0x3c]
push eax
call fcn.007de188
add esp, 0xc
add edi, esi
add edi, 4
mov dword [esp], edi
jmp 0x531661
call fcn.0052fc90
mov ebx, eax
push esi
push dword [esp + 4]
call fcn.00539870
add esp, 8
mov ecx, 4
test ebx, ebx
je 0x531657
mov eax, dword [ebx]
test eax, eax
je 0x531657
mov ecx, dword [esp]
lea esi, [ecx + 4]
add ebx, 4
mov ebp, dword [eax]
test ebp, ebp
je 0x531649
push ebp
call fcn.007ddf80
add esp, 4
mov edi, eax
push eax
push ebp
push esi
call fcn.007de188
add esp, 0xc
mov byte [esi + edi], 0x2c
add esi, edi
inc esi
mov eax, dword [ebx]
add ebx, 4
test eax, eax
jne 0x53161d
mov ecx, dword [esp + 4]
add ecx, 4
mov ebp, dword [esp + 0x98]
add dword [esp], ecx
mov ebx, dword [esp + 0xa0]
cmp dword [ebp + 0x130], 0
je 0x531699
mov esi, dword [esp + 8]
push esi
mov edi, dword [esp + 4]
push edi
call fcn.00539870
add esp, 8
lea eax, [edi + 4]
push esi
push dword [ebp + 0x130]
push eax
call fcn.007de188
add esp, 0xc
add edi, esi
add edi, 4
mov dword [esp], edi
jmp 0x53170c
call fcn.0054aea0
mov ebx, eax
push dword [esp + 8]
push dword [esp + 4]
call fcn.00539870
add esp, 8
mov ecx, 4
test ebx, ebx
je 0x531702
mov eax, dword [ebx]
test eax, eax
je 0x531702
mov ecx, dword [esp]
lea esi, [ecx + 4]
add ebx, 4
mov ebp, dword [eax]
test ebp, ebp
je 0x5316f4
push ebp
call fcn.007ddf80
add esp, 4
mov edi, eax
push eax
push ebp
push esi
call fcn.007de188
add esp, 0xc
mov byte [esi + edi], 0x2c
add esi, edi
inc esi
mov eax, dword [ebx]
add ebx, 4
test eax, eax
jne 0x5316c8
mov ecx, dword [esp + 8]
add ecx, 4
mov ebp, dword [esp + 0x98]
add dword [esp], ecx
mov ebx, dword [esp + 0xa0]
cmp dword [ebp + 0xf8], 0
je 0x531744
mov esi, dword [esp + 0xc]
push esi
mov edi, dword [esp + 4]
push edi
call fcn.00539870
add esp, 8
lea eax, [edi + 4]
push esi
push dword [ebp + 0xf8]
push eax
call fcn.007de188
add esp, 0xc
add edi, esi
add edi, 4
mov dword [esp], edi
jmp 0x5317b7
call fcn.0054aea0
mov edi, eax
push dword [esp + 0xc]
push dword [esp + 4]
call fcn.00539870
add esp, 8
mov ecx, 4
test edi, edi
je 0x5317b4
mov eax, dword [edi]
test eax, eax
je 0x5317b4
mov ecx, dword [esp]
lea esi, [ecx + 4]
add edi, 4
mov ebp, dword [eax]
test ebp, ebp
je 0x53179f
push ebp
call fcn.007ddf80
add esp, 4
mov ebx, eax
push eax
push ebp
push esi
call fcn.007de188
add esp, 0xc
mov byte [esi + ebx], 0x2c
add esi, ebx
inc esi
mov eax, dword [edi]
add edi, 4
test eax, eax
jne 0x531773
mov ecx, dword [esp + 0xc]
add ecx, 4
mov ebp, dword [esp + 0x98]
mov ebx, dword [esp + 0xa0]
add dword [esp], ecx
cmp dword [ebp + 0x134], 0
je 0x5317ef
mov esi, dword [esp + 0x10]
push esi
mov edi, dword [esp + 4]
push edi
call fcn.00539870
add esp, 8
lea eax, [edi + 4]
push esi
push dword [ebp + 0x134]
push eax
call fcn.007de188
add esp, 0xc
add edi, esi
add edi, 4
mov dword [esp], edi
jmp 0x531862
call fcn.005391f0
mov edi, eax
push dword [esp + 0x10]
push dword [esp + 4]
call fcn.00539870
add esp, 8
mov ecx, 4
test edi, edi
je 0x53185f
mov eax, dword [edi]
test eax, eax
je 0x53185f
mov ecx, dword [esp]
lea esi, [ecx + 4]
add edi, 4
mov ebp, dword [eax]
test ebp, ebp
je 0x53184a
push ebp
call fcn.007ddf80
add esp, 4
mov ebx, eax
push eax
push ebp
push esi
call fcn.007de188
add esp, 0xc
mov byte [esi + ebx], 0x2c
add esi, ebx
inc esi
mov eax, dword [edi]
add edi, 4
test eax, eax
jne 0x53181e
mov ecx, dword [esp + 0x10]
add ecx, 4
mov ebp, dword [esp + 0x98]
mov ebx, dword [esp + 0xa0]
add dword [esp], ecx
cmp dword [ebp + 0xfc], 0
je 0x531897
mov esi, dword [esp + 0x14]
push esi
mov edi, dword [esp + 4]
push edi
call fcn.00539870
add esp, 8
lea eax, [edi + 4]
push esi
push dword [ebp + 0xfc]
push eax
call fcn.007de188
add esp, 0xc
add esi, edi
add esi, 4
jmp 0x53190a
call fcn.005391f0
mov edi, eax
push dword [esp + 0x14]
mov esi, dword [esp + 4]
push esi
call fcn.00539870
add esp, 8
mov ecx, 4
test edi, edi
je 0x531908
mov eax, dword [edi]
test eax, eax
je 0x531908
add esi, 4
add edi, 4
mov ebp, dword [eax]
test ebp, ebp
je 0x5318f0
push ebp
call fcn.007ddf80
add esp, 4
mov ebx, eax
push eax
push ebp
push esi
call fcn.007de188
add esp, 0xc
mov byte [esi + ebx], 0x2c
add esi, ebx
inc esi
mov eax, dword [edi]
add edi, 4
test eax, eax
jne 0x5318c4
mov ecx, dword [esp + 0x14]
add ecx, 4
mov ebp, dword [esp + 0x98]
mov ebx, dword [esp + 0xa0]
mov esi, dword [esp]
add esi, ecx
cmp dword [ebp + 0x138], 0
je 0x53193d
mov edi, esi
mov esi, dword [esp + 0x18]
push esi
push edi
call fcn.00539870
add esp, 8
lea eax, [edi + 4]
push esi
push dword [ebp + 0x138]
push eax
call fcn.007de188
add esp, 0xc
add esi, edi
add esi, 4
jmp 0x5319b3
push ebp
call fcn.0054ae50
add esp, 4
mov edi, eax
push dword [esp + 0x18]
push esi
call fcn.00539870
add esp, 8
mov ecx, 4
test edi, edi
je 0x5319b1
mov eax, dword [edi]
test eax, eax
je 0x5319b1
mov dword [esp], esi
add esi, 4
add edi, 4
mov ebp, dword [eax]
test ebp, ebp
je 0x531999
push ebp
call fcn.007ddf80
add esp, 4
mov ebx, eax
push eax
push ebp
push esi
call fcn.007de188
add esp, 0xc
mov byte [esi + ebx], 0x2c
add esi, ebx
inc esi
mov eax, dword [edi]
add edi, 4
test eax, eax
jne 0x53196d
mov ecx, dword [esp + 0x18]
add ecx, 4
mov ebp, dword [esp + 0x98]
mov ebx, dword [esp + 0xa0]
mov esi, dword [esp]
add esi, ecx
cmp dword [ebp + 0x100], 0
je 0x5319e4
mov edi, dword [esp + 0x1c]
push edi
push esi
call fcn.00539870
add esp, 8
lea eax, [esi + 4]
push edi
push dword [ebp + 0x100]
push eax
call fcn.007de188
add esp, 0xc
add edi, esi
add edi, 4
jmp 0x531a5c
push ebp
call fcn.0054ae50
add esp, 4
mov edi, eax
push dword [esp + 0x1c]
push esi
call fcn.00539870
add esp, 8
mov ecx, 4
test edi, edi
je 0x531a58
mov eax, dword [edi]
test eax, eax
je 0x531a58
mov dword [esp], esi
add esi, 4
add edi, 4
mov ebp, dword [eax]
test ebp, ebp
je 0x531a40
push ebp
call fcn.007ddf80
add esp, 4
mov ebx, eax
push eax
push ebp
push esi
call fcn.007de188
add esp, 0xc
mov byte [esi + ebx], 0x2c
add esi, ebx
inc esi
mov eax, dword [edi]
add edi, 4
test eax, eax
jne 0x531a14
mov ecx, dword [esp + 0x1c]
add ecx, 4
mov ebp, dword [esp + 0x98]
mov ebx, dword [esp + 0xa0]
mov esi, dword [esp]
add esi, ecx
mov edi, esi
mov eax, dword [ebp + 0x13c]
mov dword [esp], eax
mov esi, dword [esp + 0x30]
push esi
push edi
call fcn.00539870
add esp, 8
add edi, 4
cmp dword [esp], 0
je 0x531a8e
push esi
push dword [ebp + 0x13c]
push edi
call fcn.007de188
add esp, 0xc
add edi, esi
mov eax, dword [ebp + 0x104]
mov dword [esp], eax
mov esi, dword [esp + 0x34]
push esi
push edi
call fcn.00539870
add esp, 8
add edi, 4
cmp dword [esp], 0
je 0x531ac0
push esi
push dword [ebp + 0x104]
push edi
call fcn.007de188
add esp, 0xc
add edi, esi
mov esi, dword [esp + 0x24]
mov byte [edi], 0
inc edi
push 0
push edi
call fcn.00539870
add esp, 8
mov dword [ebp + 0x11428], 2
mov edi, dword [esp + 0x2c]
jmp 0x530ef3
push 1
push edi
call fcn.0053a020
add esp, 8
test eax, eax
je 0x5314ca
mov eax, dword [esp + 0x3c]
lea ecx, [eax + 1]
mov dword [esp + 0x3c], ecx
movzx eax, byte [eax]
mov dword [ebp + 0x54], eax
mov edx, dword [esp + 0x80]
mov ecx, ebp
push dword [esp + 0x5c]
push dword [esp + 0x80]
push dword [esp + 0x68]
call fcn.00532000
add esp, 0xc
test eax, eax
jne 0x5314ca
lea edi, [ebp + 0x108]
mov edx, dword [esp + 0x78]
mov ecx, edi
push dword [esp + 0x58]
call fcn.005321b0
add esp, 4
test eax, eax
jne 0x5314ca
lea ebx, [ebp + 0xd0]
mov edx, dword [esp + 0x74]
mov ecx, ebx
push dword [esp + 0x54]
call fcn.005321b0
add esp, 4
test eax, eax
jne 0x5314ca
mov edx, dword [esp + 0x68]
mov ecx, edi
push dword [esp + 0x48]
call fcn.00532330
add esp, 4
test eax, eax
jne 0x5314ca
mov edx, dword [esp + 0x64]
mov ecx, ebx
push dword [esp + 0x44]
call fcn.00532330
add esp, 4
test eax, eax
jne 0x5314ca
mov ecx, ebp
mov edx, edi
push dword [esp + 0x50]
push dword [esp + 0x74]
call fcn.005324d0
add esp, 8
test eax, eax
jne 0x5314ca
mov ecx, ebp
mov edx, ebx
push dword [esp + 0x4c]
push dword [esp + 0x70]
call fcn.005324d0
add esp, 8
test eax, eax
jne 0x5314ca
mov ebx, esi
mov dword [esi], 5
mov ecx, dword [ebp + 0x50]
mov eax, 5
test ecx, ecx
sete dl
cmp eax, 5
setne dh
xor eax, eax
or dh, dl
je 0x530e5a
mov ecx, dword [ebp + 0x10c]
test ecx, ecx
je 0x531c23
push ebp
push ecx
mov esi, eax
call dword [ebp + 0xc]
mov eax, esi
add esp, 8
mov dword [ebp + 0x10c], 0
mov ecx, dword [ebp + 0xd4]
test ecx, ecx
je 0x531c43
push ebp
push ecx
mov esi, eax
call dword [ebp + 0xc]
mov eax, esi
add esp, 8
mov dword [ebp + 0xd4], 0
and byte [ebp + 0x40], 0xf6
mov dword [ebx], 0
add esp, 0x84
pop esi
pop edi
pop ebx
pop ebp
ret