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

Disassembly:
sub esp, 0x6c
push ebx
mov ebx, dword [esp + 0x78]
push ebp
mov ebp, dword [esp + 0x78]
push esi
push edi
mov edi, dword [ebx + 0x44]
mov esi, dword [ebp + 8]
mov dword [esp + 0x30], edi
mov eax, dword [edi + 0xc]
mov dword [esp + 0x1c], eax
test esi, esi
jne 0x52d5e1
cmp dword [ebp + 0x74], esi
jne 0x52d5d6
mov eax, dword [ebp]
test byte [eax + 0x50], 8
jne 0x52d5d6
mov byte [ebp + 0x17], 1
push ebp
call fcn.0051ae50
add esp, 4
mov esi, eax
mov ecx, dword [ebx + 0x20]
push 0x38
push 0
mov eax, dword [ecx + 0x34]
mov ecx, dword [ecx + 0x18]
mov dword [esp + 0x48], eax
xor eax, eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
movsx ebx, word [ecx + 0x22]
dec dword [ebp + 0x38]
mov dword [esp + 0x30], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0x38]
mov dword [esp + 0x28], eax
lea eax, [esp + 0x4c]
push eax
mov dword [esp + 0x40], ebx
call sub.MSVCRT.dll_memset
mov ecx, dword [edi + 0x30]
add esp, 0xc
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 0x50], eax
lea eax, [ecx + 1]
mov dword [esp + 0x90], eax
lea eax, [ecx + 2]
mov dword [esp + 0x64], eax
lea eax, [ecx + 3]
mov dword [esp + 0x74], eax
mov al, byte [edi + 0x11]
mov dword [esp + 0x44], ebp
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x6c], ecx
cmp al, 0x56
je 0x52d6c2
cmp al, 0x5a
je 0x52d68f
mov dword [esp + 0x5c], 2
jmp 0x52d6e0
push edi
call fcn.00541ab0
add esp, 4
test eax, eax
jne 0x52d6e0
cmp byte [edi + 0x12], 0x58
jne 0x52d6d8
cmp byte [edi + 0x10], 0x59
je 0x52d6e0
push dword [edi + 0x1c]
push ebp
call fcn.00542670
add esp, 8
test eax, eax
je 0x52d6e0
mov dword [esp + 0x5c], 3
jmp 0x52d6e0
cmp byte [edi + 0x10], 0x59
je 0x52d6e0
push dword [edi + 0x18]
push ebp
call fcn.00542670
add esp, 8
test eax, eax
je 0x52d6e0
mov dword [esp + 0x5c], 1
mov eax, dword [ebp + 0x2c]
lea edx, [eax + 1]
inc eax
add eax, ebx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x24], eax
lea ecx, [eax + 1]
mov dword [ebp + 0x2c], ecx
mov al, byte [edi + 0x11]
mov dword [esp + 0x60], ecx
cmp al, 0x58
je 0x52d706
cmp al, 0x56
jne 0x52d713
lea eax, [ecx + 1]
mov dword [esp + 0x84], eax
mov dword [ebp + 0x2c], eax
mov al, byte [edi + 0x12]
cmp al, 0x58
je 0x52d71e
cmp al, 0x56
jne 0x52d728
inc dword [ebp + 0x2c]
mov eax, dword [ebp + 0x2c]
mov dword [esp + 0x10], eax
cmp byte [edi + 0x10], 0x4c
je 0x52d77c
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x52d73a
mov ecx, dword [eax]
jmp 0x52d73c
xor ecx, ecx
mov ebx, dword [edi + 0x4c]
mov eax, dword [edi + 8]
add ebx, edx
mov dword [esp + 0x28], ebx
test eax, eax
je 0x52d752
add ebx, dword [eax]
mov dword [esp + 0x28], ebx
mov eax, dword [ebp + 0x2c]
lea ebx, [eax + 1]
add eax, ecx
mov dword [esp + 0x14], ebx
lea ebx, [eax + 1]
add eax, ecx
mov dword [esp + 0x68], ebx
lea ebx, [eax + 1]
add eax, ecx
mov dword [esp + 0x70], ebx
lea ebx, [eax + 1]
add eax, ecx
mov dword [esp + 0x78], ebx
mov dword [ebp + 0x2c], eax
mov eax, dword [esp + 0x34]
xor ebx, ebx
test eax, eax
jle 0x52d7ee
mov edi, dword [esp + 0x40]
mov ebp, edx
lea esp, [esp]
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x52d7ab
lea eax, [ebx + ebp]
push eax
push ebx
push edi
push 0x5d
push esi
call fcn.004ceed0
add esp, 0x14
jmp 0x52d7d6
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x5d
mov dword [eax + ecx*4 + 4], edi
mov dword [eax + ecx*4 + 8], ebx
lea ecx, [eax + ecx*4]
lea eax, [ebx + ebp]
mov dword [ecx + 0x10], 0
mov dword [ecx + 0xc], eax
mov eax, dword [esp + 0x34]
inc ebx
cmp ebx, eax
jl 0x52d790
mov edi, dword [esp + 0x30]
mov ebp, dword [esp + 0x80]
mov edx, dword [esp + 0x2c]
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x52d80e
mov ebx, dword [esp + 0x24]
push ebx
push eax
push edx
push 0x60
push esi
call fcn.004ceed0
mov edx, dword [esp + 0x40]
add esp, 0x14
jmp 0x52d83d
mov ebx, dword [esp + 0x34]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 8], ebx
mov ebx, dword [esp + 0x24]
mov dword [eax + ecx*4], 0x60
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 0xc], ebx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi + 8]
test eax, eax
je 0x52d9ee
mov ecx, dword [eax]
push 0
mov dword [esp + 0x38], ecx
mov ecx, dword [edi + 0x4c]
push 0
push eax
add ecx, edx
push ebp
mov dword [esp + 0x3c], ecx
call fcn.00506090
inc dword [ebp + 0x2c]
add esp, 0x10
mov ebx, dword [esi + 0x74]
mov edx, dword [edi + 0x44]
mov dword [esp + 0x38], eax
mov eax, dword [ebp + 0x2c]
mov dword [esp + 0x18], eax
cmp dword [esi + 0x78], ebx
jg 0x52d896
push dword [esp + 0x34]
push edx
push dword [esp + 0x34]
push 0x59
push esi
call fcn.004ceed0
add esp, 0x14
mov ebx, eax
jmp 0x52d8cc
mov ebp, dword [esp + 0x2c]
lea eax, [ebx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ebx + ebx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x34]
mov dword [eax + ecx*4 + 4], ebp
mov ebp, dword [esp + 0x80]
mov dword [eax + ecx*4], 0x59
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi]
mov edx, dword [esp + 0x38]
cmp byte [eax + 0x57], 0
je 0x52d8e6
push edx
push 0xfffffffffffffff7
push eax
call fcn.004bbca0
add esp, 0xc
jmp 0x52d8f8
mov eax, dword [esi + 0x74]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x70]
mov byte [eax + ecx*4 - 0x13], 0xf7
mov dword [eax + ecx*4 - 4], edx
mov ecx, dword [esi + 0x74]
lea edx, [ebx + 2]
add ebx, 4
cmp dword [esi + 0x78], ecx
jg 0x52d916
push edx
push ebx
push edx
push 0x10
push esi
call fcn.004ceed0
add esp, 0x14
jmp 0x52d941
mov edi, dword [esp + 0x30]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x10
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], ebx
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0x74]
mov dword [esp + 0x38], ecx
cmp dword [esi + 0x78], ecx
jg 0x52d966
push 0
push 0
push dword [esp + 0x20]
push 0xc
push esi
call fcn.004ceed0
add esp, 0x14
mov dword [esp + 0x38], eax
jmp 0x52d999
mov edx, dword [esp + 0x18]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0xc
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [esp + 0x34]
mov ecx, dword [esi + 0x74]
dec edx
mov ebx, dword [edi + 0x44]
cmp dword [esi + 0x78], ecx
jg 0x52d9bc
push edx
push ebx
push dword [esp + 0x34]
push 0x4f
push esi
call fcn.004ceed0
add esp, 0x14
jmp 0x52d9ee
mov ebp, dword [esp + 0x2c]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 4], ebp
mov ebp, dword [esp + 0x80]
mov dword [eax + ecx*4], 0x4f
mov dword [eax + ecx*4 + 8], ebx
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x52da16
mov ebx, dword [esp + 0x24]
push 0
inc ebx
push ebx
push dword [esp + 0x98]
push 0x7e
push esi
call fcn.004ceed0
mov edx, dword [esp + 0x38]
add esp, 0x14
jmp 0x52da4f
mov edx, dword [esp + 0x90]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x24]
mov dword [eax + ecx*4], 0x7e
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
lea ebx, [edx + 1]
mov dword [eax + ecx*4 + 8], ebx
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x52da6d
push ebx
push edx
push dword [esp + 0x98]
push 0x7f
push esi
call fcn.004ceed0
add esp, 0x14
jmp 0x52daa2
mov ebp, dword [esp + 0x90]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 4], ebp
mov ebp, dword [esp + 0x80]
mov dword [eax + ecx*4], 0x7f
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], ebx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0x74]
mov edx, dword [edi + 0x54]
mov dword [esp + 0x34], ecx
cmp dword [esi + 0x78], ecx
jg 0x52dac6
push ebx
push 0
push edx
push 0x34
push esi
call fcn.004ceed0
add esp, 0x14
mov dword [esp + 0x34], eax
jmp 0x52daf8
mov ebp, dword [esp + 0x80]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x34
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], ebx
mov dword [eax + ecx*4 + 0x10], 0
push edi
push ebp
call fcn.00542f50
mov ebx, dword [esp + 0x8c]
add esp, 8
mov dword [esp + 0x58], eax
test ebx, ebx
je 0x52db33
push ebx
push dword [edi + 0x18]
push ebp
call fcn.004f3f00
xor eax, eax
cmp byte [edi + 0x10], 0x59
setne al
dec eax
and eax, 3
push eax
push ebx
push ebp
call fcn.00541b00
add esp, 0x18
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x52db66
push ecx
push dword [edi + 0x1c]
push ebp
call fcn.004f3f00
mov edx, dword [esp + 0x1c]
xor eax, eax
cmp byte [edi + 0x10], 0x59
setne al
dec eax
and eax, 3
inc eax
push eax
push edx
push ebp
call fcn.00541b00
mov ecx, dword [esp + 0x28]
add esp, 0x18
cmp byte [edi + 0x10], 0x59
je 0x52dd37
mov al, byte [edi + 0x11]
cmp al, byte [edi + 0x12]
jne 0x52dd37
test ebx, ebx
je 0x52dd37
mov ebx, dword [esi + 0x74]
xor edx, edx
cmp al, 0x56
sete dl
lea edx, [edx*2 + 0x37]
cmp dword [esi + 0x78], ebx
jg 0x52dbb2
push ecx
push 0
push dword [esp + 0x8c]
push edx
push esi
call fcn.004ceed0
add esp, 0x14
mov ebx, eax
jmp 0x52dbf0
lea eax, [ebx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ebx + ebx*4]
mov eax, dword [esi + 0x70]
mov byte [eax + ecx*4], dl
xor edx, edx
mov word [eax + ecx*4 + 2], dx
mov edx, dword [esp + 0x84]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x10]
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov byte [eax + ecx*4 + 1], 0
lea eax, [esp + 0x44]
push 0
push eax
call fcn.00540f60
mov ecx, dword [esi + 0x74]
add esp, 8
cmp dword [esi + 0x78], ecx
jg 0x52dc1f
push 0
push 1
push dword [esp + 0x94]
push 0x26
push esi
call fcn.004ceed0
add esp, 0x14
jmp 0x52dc55
mov edx, dword [esp + 0x8c]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x26
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 1
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
lea eax, [esp + 0x44]
push eax
call fcn.005432b0
mov ecx, dword [esi + 0x74]
add esp, 4
cmp dword [esi + 0x78], ecx
jg 0x52dc85
push 0
push 0
push dword [esp + 0x94]
push 0x91
push esi
call fcn.004ceed0
add esp, 0x14
jmp 0x52dcbb
mov edx, dword [esp + 0x8c]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x91
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x52dcd8
push 0
push dword [esp + 0x24]
push 0
push 0xb
push esi
call fcn.004ceed0
add esp, 0x14
jmp 0x52dd0b
mov edx, dword [esp + 0x20]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0xb
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [esi + 0x74]
test ebx, ebx
jns 0x52dd15
lea ebx, [edx - 1]
mov eax, dword [esi]
cmp byte [eax + 0x57], 0
je 0x52dd24
mov eax, 0x6a4314
jmp 0x52dd2d
mov eax, dword [esi + 0x70]
lea ecx, [ebx + ebx*4]
lea eax, [eax + ecx*4]
mov ebx, dword [esp + 0x84]
mov dword [eax + 8], edx
cmp byte [edi + 0x11], 0x56
jne 0x52dd91
cmp byte [edi + 0x10], 0x59
je 0x52dd91
mov edx, dword [esp + 0x10]
test edx, edx
je 0x52dd91
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x52dd63
push ebx
push edx
push ebx
push 0x6b
push esi
call fcn.004ceed0
add esp, 0x14
jmp 0x52dd91
mov ebp, dword [esp + 0x80]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x6b
mov dword [eax + ecx*4 + 4], ebx
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], ebx
mov dword [eax + ecx*4 + 0x10], 0
cmp byte [edi + 0x11], 0x5a
je 0x52ddf1
mov edx, dword [esp + 0x8c]
mov ecx, dword [esi + 0x74]
add edx, 2
cmp dword [esi + 0x78], ecx
jg 0x52ddbb
push 0
push 1
push edx
push 0x26
push esi
call fcn.004ceed0
add esp, 0x14
jmp 0x52ddf1
mov ebp, dword [esp + 0x80]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x26
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 1
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x52de18
push 0
push 1
push dword [esp + 0x94]
push 0x26
push esi
call fcn.004ceed0
mov edx, dword [esp + 0xa0]
add esp, 0x14
jmp 0x52de4e
mov edx, dword [esp + 0x8c]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x26
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 1
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x52de6b
push 0
push 1
lea eax, [edx + 3]
push eax
push 0x26
push esi
call fcn.004ceed0
add esp, 0x14
jmp 0x52dea8
mov edx, dword [esp + 0x8c]
lea eax, [ecx + 1]
mov edi, dword [esp + 0x30]
lea ecx, [ecx + ecx*4]
mov dword [esi + 0x74], eax
add edx, 3
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x26
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 1
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x14]
test eax, eax
je 0x52e022
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x52e022
mov edx, dword [ecx]
mov ecx, dword [esi + 0x74]
dec edx
cmp dword [esi + 0x78], ecx
jg 0x52dede
push edx
push eax
push dword [esp + 0x30]
push 0x4f
push esi
call fcn.004ceed0
add esp, 0x14
jmp 0x52df14
mov ebp, dword [esp + 0x28]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 4], ebp
mov ebp, dword [esp + 0x14]
mov dword [eax + ecx*4 + 8], ebp
mov ebp, dword [esp + 0x80]
mov dword [eax + ecx*4], 0x4f
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [esp + 0x1c]
mov ecx, dword [esi + 0x74]
mov edx, dword [edx]
dec edx
cmp dword [esi + 0x78], ecx
jg 0x52df39
push edx
push dword [esp + 0x6c]
push dword [esp + 0x1c]
push 0x4f
push esi
call fcn.004ceed0
add esp, 0x14
jmp 0x52df6f
mov ebx, dword [esp + 0x14]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 4], ebx
mov ebx, dword [esp + 0x68]
mov dword [eax + ecx*4 + 8], ebx
mov ebx, dword [esp + 0x84]
mov dword [eax + ecx*4], 0x4f
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esi + 0x74]
mov edx, dword [eax]
dec edx
cmp dword [esi + 0x78], ecx
jg 0x52df94
push edx
push dword [esp + 0x74]
push dword [esp + 0x1c]
push 0x4f
push esi
call fcn.004ceed0
add esp, 0x14
jmp 0x52dfc7
mov edi, dword [esp + 0x14]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x70]
mov dword [eax + ecx*4 + 8], edi
mov edi, dword [esp + 0x30]
mov dword [eax + ecx*4], 0x4f
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esi + 0x74]
mov edx, dword [eax]
dec edx
cmp dword [esi + 0x78], ecx
jg 0x52dfec
push edx
push dword [esp + 0x7c]
push dword [esp + 0x1c]
push 0x4f
push esi
call fcn.004ceed0
add esp, 0x14
jmp 0x52e022
mov ebp, dword [esp + 0x14]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 4], ebp
mov ebp, dword [esp + 0x78]
mov dword [eax + ecx*4 + 8], ebp
mov ebp, dword [esp + 0x80]
mov dword [eax + ecx*4], 0x4f
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x52e03f
push 0
push dword [esp + 0x24]
push 0
push 0xb
push esi
call fcn.004ceed0
add esp, 0x14
jmp 0x52e072
mov edx, dword [esp + 0x20]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0xb
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x34]
mov edx, dword [esi + 0x74]
test ecx, ecx
jns 0x52e080
lea ecx, [edx - 1]
mov eax, dword [esi]
cmp byte [eax + 0x57], 0
je 0x52e08f
mov eax, 0x6a4314
jmp 0x52e098
mov eax, dword [esi + 0x70]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov eax, dword [esp + 0x14]
test eax, eax
je 0x52e0b9
push dword [esp + 0x20]
push eax
push dword [esp + 0x30]
push dword [esp + 0x28]
push ebp
call fcn.00542da0
add esp, 0x14
mov al, byte [edi + 0x11]
cmp al, 0x56
jne 0x52e1f7
push 0
push 0
lea eax, [esp + 0x4c]
push 3
push eax
call fcn.00541d80
add esp, 0x10
cmp byte [edi + 0x12], 0x5a
je 0x52e19a
cmp byte [edi + 0x10], 0x59
jne 0x52e1d1
mov ecx, dword [esp + 0x8c]
dec dword [ebp + 0x38]
mov ebx, dword [ebp + 0x38]
mov ebp, dword [esi + 0x74]
push ebx
lea eax, [ecx + 3]
push eax
push dword [esp + 0x18]
lea eax, [esp + 0x50]
push ecx
push 0x39
push eax
call fcn.005421c0
push 0
push dword [esp + 0xa0]
lea eax, [esp + 0x64]
push 2
push eax
call fcn.00541d80
push 0
push 0
lea eax, [esp + 0x74]
push 1
push eax
call fcn.00541d80
mov ecx, dword [esi + 0x74]
add esp, 0x38
cmp dword [esi + 0x78], ecx
jg 0x52e153
push 0
push ebp
push 0
push 0xb
push esi
call fcn.004ceed0
add esp, 0x14
jmp 0x52e182
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0xb
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], ebp
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0xc]
not ebx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x52e1c6
push ebx
push esi
push ecx
call fcn.004e0f70
add esp, 0xc
mov ebp, dword [esp + 0x84]
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x20]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x52e3c1
push edx
push esi
push ecx
call fcn.004e0f70
add esp, 0xc
jmp 0x52e3ca
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x74]
mov dword [ecx + ebx*4], eax
jmp 0x52e19a
push 0
push dword [esp + 0x14]
lea eax, [esp + 0x4c]
push 1
push eax
call fcn.00541d80
push 0
push ebx
lea eax, [esp + 0x5c]
push 2
push eax
call fcn.00541d80
add esp, 0x20
jmp 0x52e19a
cmp byte [edi + 0x12], 0x58
jne 0x52e273
cmp al, 0x58
jne 0x52e20e
cmp byte [edi + 0x10], 0x59
jne 0x52e20e
mov ebx, 1
jmp 0x52e210
xor ebx, ebx
push 0
push dword [esp + 0x14]
lea eax, [esp + 0x4c]
push 3
push eax
call fcn.00541d80
mov ebp, dword [esp + 0x94]
add esp, 0x10
test ebx, ebx
je 0x52e242
push 0
push ebp
lea eax, [esp + 0x4c]
push 2
push eax
call fcn.00541d80
add esp, 0x10
push 0
push 0
lea eax, [esp + 0x4c]
push 1
push eax
call fcn.00541d80
add esp, 0x10
test ebx, ebx
jne 0x52e19a
push ebx
push ebp
lea eax, [esp + 0x4c]
push 2
push eax
call fcn.00541d80
add esp, 0x10
jmp 0x52e19a
xor ebx, ebx
lea eax, [esp + 0x44]
push ebx
push ebx
push 3
push eax
call fcn.00541d80
add esp, 0x10
cmp byte [edi + 0x12], 0x5a
je 0x52e19a
cmp byte [edi + 0x10], 0x59
jne 0x52e342
mov eax, dword [esi + 0x74]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x10]
test eax, eax
je 0x52e2cf
mov edx, dword [esp + 0x8c]
dec dword [ebp + 0x38]
mov ebx, dword [ebp + 0x38]
push ebx
lea ecx, [edx + 3]
push ecx
push eax
push edx
lea eax, [esp + 0x54]
push 0x39
push eax
call fcn.005421c0
add esp, 0x18
push 0
push 0
lea eax, [esp + 0x4c]
push 1
push eax
call fcn.00541d80
mov ebp, dword [esp + 0x94]
lea eax, [esp + 0x54]
push 0
push ebp
push 2
push eax
call fcn.00541d80
add esp, 0x20
cmp dword [esp + 0x10], 0
je 0x52e1a1
push dword [esp + 0x80]
push 0
push 0xb
push esi
call fcn.0051a3d0
mov ecx, dword [esi + 0xc]
add esp, 0x10
not ebx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x52e334
push ebx
push esi
push ecx
call fcn.004e0f70
add esp, 0xc
jmp 0x52e1a1
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x74]
mov dword [ecx + ebx*4], eax
jmp 0x52e1a1
mov eax, dword [esp + 0x10]
test eax, eax
je 0x52e35c
push 1
push 0
push eax
push 0x31
push esi
call fcn.0051a430
add esp, 0x14
mov ebx, eax
push 0
push 0
lea eax, [esp + 0x4c]
push 1
push eax
call fcn.00541d80
mov ebp, dword [esp + 0x94]
lea eax, [esp + 0x54]
push 0
push ebp
push 2
push eax
call fcn.00541d80
add esp, 0x20
cmp dword [esp + 0x10], 0
je 0x52e1a1
mov edx, dword [esi + 0x74]
test ebx, ebx
jns 0x52e39a
lea ebx, [edx - 1]
mov eax, dword [esi]
cmp byte [eax + 0x57], 0
je 0x52e3af
mov eax, 0x6a4314
mov dword [eax + 8], edx
jmp 0x52e1a1
mov eax, dword [esi + 0x70]
lea ecx, [ebx + ebx*4]
mov dword [eax + ecx*4 + 8], edx
lea eax, [eax + ecx*4]
jmp 0x52e1a1
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x74]
mov dword [ecx + edx*4], eax
push dword [esp + 0x88]
call fcn.0052b800
add esp, 4
cmp dword [edi + 8], 0
je 0x52e464
mov ebx, dword [esi + 0x74]
mov dword [esp + 0x3c], ebx
cmp dword [esi + 0x78], ebx
jg 0x52e408
push 0
push dword [esp + 0x1c]
push 0
push 0x47
push esi
call fcn.004ceed0
add esp, 0x14
mov dword [esp + 0x3c], eax
jmp 0x52e43b
mov edx, dword [esp + 0x18]
lea eax, [ebx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ebx + ebx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x47
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x38]
mov edx, dword [esi + 0x74]
test ecx, ecx
jns 0x52e449
lea ecx, [edx - 1]
mov eax, dword [esi]
cmp byte [eax + 0x57], 0
je 0x52e458
mov eax, 0x6a4314
jmp 0x52e461
mov eax, dword [esi + 0x70]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov ebx, dword [esi + 0x74]
mov dword [esp + 0x60], 0
cmp dword [esi + 0x78], ebx
jg 0x52e48e
push 0
push 0
push dword [esp + 0x98]
push 0x26
push esi
call fcn.004ceed0
add esp, 0x14
mov ebx, eax
jmp 0x52e4c4
mov edx, dword [esp + 0x90]
lea eax, [ebx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ebx + ebx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x26
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
cmp byte [edi + 0x12], 0x58
jne 0x52e528
cmp byte [edi + 0x11], 0x58
jne 0x52e4dd
cmp byte [edi + 0x10], 0x59
jne 0x52e4dd
mov ebp, 1
jmp 0x52e4df
xor ebp, ebp
push 0
push dword [esp + 0x14]
lea eax, [esp + 0x4c]
push 3
push eax
call fcn.00541d80
add esp, 0x10
test ebp, ebp
je 0x52e510
push 0
push dword [esp + 0x88]
lea eax, [esp + 0x4c]
push 2
push eax
call fcn.00541d80
add esp, 0x10
push 0
push 0
lea eax, [esp + 0x4c]
push 1
push eax
call fcn.00541d80
add esp, 0x10
jmp 0x52e7a5
cmp byte [edi + 0x11], 0x56
lea eax, [esp + 0x44]
push 0
push 0
push 3
push eax
jne 0x52e6f1
call fcn.00541d80
mov eax, dword [esi + 0x74]
add esp, 0x10
cmp byte [edi + 0x10], 0x59
mov dword [esp + 0x80], eax
lea eax, [esp + 0x44]
push 1
jne 0x52e57f
push ebp
push 2
push eax
call fcn.00541d80
push 1
push 0
mov ebp, eax
lea eax, [esp + 0x5c]
push 1
push eax
call fcn.00541d80
mov dword [esp + 0xa4], eax
jmp 0x52e5b8
cmp byte [edi + 0x12], 0x5a
jne 0x52e594
push ebp
push 1
push eax
call fcn.00541d80
push 1
push 0
jmp 0x52e5a3
push dword [esp + 0x14]
push 1
push eax
call fcn.00541d80
push 1
push ebp
mov dword [esp + 0x9c], eax
lea eax, [esp + 0x5c]
push 2
push eax
call fcn.00541d80
mov ebp, eax
mov ecx, dword [esi + 0x74]
add esp, 0x20
mov edx, dword [esp + 0x80]
cmp dword [esi + 0x78], ecx
jg 0x52e5dc
push 0
push edx
push 0
push 0xb
push esi
call fcn.004ceed0
add esp, 0x14
jmp 0x52e60b
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0xb
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [esi + 0x74]
test ebp, ebp
jns 0x52e615
lea ebp, [edx - 1]
mov eax, dword [esi]
cmp byte [eax + 0x57], 0
je 0x52e624
mov eax, 0x6a4314
jmp 0x52e633
mov eax, dword [esi + 0x70]
lea ecx, [ebp*4]
add ecx, ebp
lea eax, [eax + ecx*4]
push 1
mov dword [eax + 8], edx
mov eax, dword [esi + 0x74]
push 0
mov dword [esp + 0x88], eax
lea eax, [esp + 0x4c]
push 1
push eax
call fcn.00541d80
mov ecx, dword [esi + 0x74]
add esp, 0x10
mov ebp, eax
mov edx, dword [esp + 0x80]
cmp dword [esi + 0x78], ecx
jg 0x52e676
push 0
push edx
push 0
push 0xb
push esi
call fcn.004ceed0
add esp, 0x14
jmp 0x52e6a5
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0xb
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x84]
mov edx, dword [esi + 0x74]
test ecx, ecx
jns 0x52e6b6
lea ecx, [edx - 1]
mov eax, dword [esi]
cmp byte [eax + 0x57], 0
je 0x52e6c5
mov eax, 0x6a4314
jmp 0x52e6ce
mov eax, dword [esi + 0x70]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov edx, dword [esi + 0x74]
test ebp, ebp
jns 0x52e6db
lea ebp, [edx - 1]
mov eax, dword [esi]
cmp byte [eax + 0x57], 0
je 0x52e793
mov eax, 0x6a4314
jmp 0x52e7a2
call fcn.00541d80
mov eax, dword [esi + 0x74]
push 1
push 0
mov dword [esp + 0x98], eax
lea eax, [esp + 0x5c]
push 1
push eax
call fcn.00541d80
push 0
push dword [esp + 0xa8]
mov ebp, eax
lea eax, [esp + 0x6c]
push 2
push eax
call fcn.00541d80
mov ecx, dword [esi + 0x74]
add esp, 0x30
mov edx, dword [esp + 0x80]
cmp dword [esi + 0x78], ecx
jg 0x52e74b
push 0
push edx
push 0
push 0xb
push esi
call fcn.004ceed0
add esp, 0x14
jmp 0x52e77a
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0xb
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [esi + 0x74]
test ebp, ebp
jns 0x52e784
lea ebp, [edx - 1]
mov eax, dword [esi]
cmp byte [eax + 0x57], 0
je 0x52e793
mov eax, 0x6a4314
jmp 0x52e7a2
mov eax, dword [esi + 0x70]
lea ecx, [ebp*4]
add ecx, ebp
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov edx, dword [esi + 0x74]
test ebx, ebx
jns 0x52e7af
lea ebx, [edx - 1]
mov eax, dword [esi]
cmp byte [eax + 0x57], 0
je 0x52e7be
mov eax, 0x6a4314
jmp 0x52e7c7
mov eax, dword [esi + 0x70]
lea ecx, [ebx + ebx*4]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x52e7ed
push 0
push 0
push dword [esp + 0x94]
push 0x91
push esi
call fcn.004ceed0
add esp, 0x14
jmp 0x52e823
mov edx, dword [esp + 0x8c]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x91
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
cmp dword [edi + 8], 0
je 0x52e94c
mov edx, dword [edi + 0x58]
test edx, edx
je 0x52e8cd
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x52e852
push 0
push edx
push 1
push 0x47
push esi
call fcn.004ceed0
add esp, 0x14
jmp 0x52e881
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x47
mov dword [eax + ecx*4 + 4], 1
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0x74]
mov edx, dword [edi + 0x5c]
cmp dword [esi + 0x78], ecx
jg 0x52e89e
push 0
push edx
push 0
push 0x47
push esi
call fcn.004ceed0
add esp, 0x14
jmp 0x52e8cd
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x47
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x3c]
mov edx, dword [esi + 0x74]
test ecx, ecx
jns 0x52e8db
lea ecx, [edx - 1]
mov eax, dword [esi]
cmp byte [eax + 0x57], 0
je 0x52e8ea
mov eax, 0x6a4314
jmp 0x52e8f3
mov eax, dword [esi + 0x70]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
mov dword [eax + 4], edx
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x52e919
push 0
push 0
push dword [esp + 0x20]
push 0x43
push esi
call fcn.004ceed0
add esp, 0x14
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x6c
ret
mov edx, dword [esp + 0x18]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x43
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x6c
ret