Function at 0x52b930
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x48
mov eax, dword [0x58cb30]
xor eax, esp
mov dword [esp + 0x44], eax
push ebx
mov ebx, dword [esp + 0x50]
push ebp
mov ebp, ecx
mov dword [esp + 0x24], ebx
push esi
push edi
mov dword [esp + 0x28], ebp
cmp dword [ebp + 0x6486a8], 2
lea edi, [ebp + 0x6496f8]
mov dword [esp + 0x1c], edi
je 0x52bac2
mov ecx, dword [ebx + 0x30]
mov eax, dword [ebx + 0x28]
mov dword [esp + 0x20], ecx
mov ecx, dword [ebx + 0x34]
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], ecx
cmp eax, dword [ebp + 0x64b7e0]
je 0x52b99b
mov eax, dword [edi]
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x55770c]
mov ecx, edi
call esi
mov eax, dword [esp + 0x10]
jmp 0x52b99f
mov dword [esp + 0x1c], edi
push eax
push dword [ebp + 0x64b7d0]
mov ecx, ebp
mov dword [ebp + 0x64b7e0], eax
call fcn.00522960
mov ecx, dword [edi]
mov dword [esp + 0x14], eax
mov esi, dword [ecx + 0x18]
mov ecx, esi
call dword [0x55770c]
mov ecx, edi
call esi
test al, al
jne 0x52ba7a
mov eax, dword [edi]
push 0
push dword [esp + 0x18]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x55770c]
mov ecx, edi
call esi
test al, al
jne 0x52ba7a
nop
cmp dword [ebp + 0x64b798], 0
mov esi, dword [esp + 0x14]
jne 0x52ba11
push esi
mov ecx, 0x5d381c
call fcn.004880a0
push 0x12
mov ecx, ebp
call fcn.00524630
push dword [esp + 0x10]
mov ecx, ebp
call fcn.00521410
cmp eax, 9
je 0x52baa8
mov ecx, dword [ebp + 0x6486a8]
cmp ecx, 1
je 0x52ba35
cmp ecx, 2
jne 0x52ba3e
cmp eax, 3
je 0x52bb01
push esi
call fcn.0053867f
add esp, 4
mov ecx, ebp
push dword [esp + 0x10]
push dword [ebp + 0x64b7d0]
call fcn.00522960
mov ecx, eax
mov eax, dword [edi]
push 0
mov dword [esp + 0x18], ecx
push ecx
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x55770c]
mov ecx, edi
call esi
test al, al
je 0x52b9f0
mov eax, dword [esp + 0x14]
test eax, eax
je 0x52ba8b
push eax
call fcn.0053867f
add esp, 4
mov esi, dword [edi]
push 0
push dword [esp + 0x1c]
push dword [esp + 0x28]
mov esi, dword [esi + 0x10]
mov ecx, esi
call dword [0x55770c]
mov ecx, edi
call esi
jmp 0x52bac6
pop edi
pop esi
pop ebp
mov eax, 9
pop ebx
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.00530218
add esp, 0x48
ret 4
mov dword [esp + 0x1c], edi
cmp dword [ebp + 0x6486a8], 2
je 0x52bb1b
push 0x56e10c
push edi
mov ecx, ebp
call fcn.00527220
test eax, eax
jne 0x52bb1b
mov eax, dword [edi]
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x55770c]
mov ecx, edi
call esi
push dword [ebp + 0x64b7ac]
mov ecx, 0x5d381c
call fcn.00487740
pop edi
pop esi
pop ebp
mov eax, 3
pop ebx
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.00530218
add esp, 0x48
ret 4
mov eax, dword [edi]
push 0x1a
mov esi, dword [eax + 0xc]
lea eax, [esp + 0x3c]
push eax
mov ecx, esi
call dword [0x55770c]
mov ecx, edi
call esi
cmp eax, 0x1a
je 0x52bb6c
cmp dword [ebp + 0x6486a8], 2
je 0x52bb52
mov eax, dword [edi]
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x55770c]
mov ecx, edi
call esi
pop edi
pop esi
pop ebp
mov eax, 2
pop ebx
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.00530218
add esp, 0x48
ret 4
push 0x68
call fcn.005398b8
mov esi, eax
add esp, 4
mov eax, dword [ebp + 0x6486a8]
test esi, esi
jne 0x52bbb2
cmp eax, 2
je 0x52bb98
mov eax, dword [edi]
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x55770c]
mov ecx, edi
call esi
pop edi
pop esi
pop ebp
mov eax, 4
pop ebx
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.00530218
add esp, 0x48
ret 4
movzx ecx, byte [esp + 0x39]
movzx eax, byte [esp + 0x38]
movzx edx, byte [esp + 0x3b]
shl cx, 8
or cx, ax
shl dx, 8
movzx eax, byte [esp + 0x3a]
or dx, ax
mov dword [esp + 0x10], ecx
movzx eax, byte [esp + 0x3c]
mov word [esi + 2], cx
movzx ecx, byte [esp + 0x3d]
shl cx, 8
or cx, ax
mov word [esi + 0x2e], dx
movzx eax, byte [esp + 0x41]
shl ax, 8
mov word [esp + 0x14], cx
mov word [esi + 6], cx
movzx ecx, ax
movzx eax, byte [esp + 0x40]
or ecx, eax
movzx eax, byte [esp + 0x3f]
shl ax, 8
movzx eax, ax
shl ecx, 0x10
or ecx, eax
movzx eax, byte [esp + 0x3e]
or ecx, eax
movzx eax, byte [esp + 0x45]
shl ax, 8
mov dword [esi + 8], ecx
movzx ecx, ax
movzx eax, byte [esp + 0x44]
or ecx, eax
movzx eax, byte [esp + 0x43]
shl ax, 8
shl ecx, 0x10
movzx eax, ax
or ecx, eax
movzx eax, byte [esp + 0x42]
or ecx, eax
movzx eax, byte [esp + 0x4e]
mov dword [esi + 0xc], ecx
movzx ecx, byte [esp + 0x4f]
shl cx, 8
or cx, ax
movzx eax, byte [esp + 0x50]
mov word [esp + 0x20], cx
mov word [esi + 0x20], cx
movzx ecx, byte [esp + 0x51]
shl cx, 8
or cx, ax
movzx eax, cx
mov dword [esp + 0x34], eax
movzx eax, cx
mov dword [esp + 0x24], eax
movzx eax, ax
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0x6486a8]
mov word [esi + 0x22], cx
cmp eax, 2
jne 0x52bd15
movzx eax, byte [esp + 0x49]
shl ax, 8
movzx ecx, ax
movzx eax, byte [esp + 0x48]
or ecx, eax
mov dword [esi + 0x14], 0
movzx eax, byte [esp + 0x47]
shl ax, 8
movzx eax, ax
shl ecx, 0x10
or ecx, eax
mov dword [esi + 0x1c], 0
movzx eax, byte [esp + 0x46]
or ecx, eax
movzx eax, byte [esp + 0x4d]
shl ax, 8
mov dword [esi + 0x10], ecx
movzx ecx, ax
movzx eax, byte [esp + 0x4c]
or ecx, eax
movzx eax, byte [esp + 0x4b]
shl ax, 8
movzx eax, ax
shl ecx, 0x10
or ecx, eax
movzx eax, byte [esp + 0x4a]
or ecx, eax
mov eax, dword [ebp + 0x6486a8]
mov dword [esi + 0x18], ecx
mov ecx, 0x800
test word [ebx + 4], cx
je 0x52bd26
or edx, ecx
mov word [esi + 0x2e], dx
cmp eax, 2
jne 0x52bd7a
mov ecx, dword [esp + 0x10]
mov eax, ecx
and eax, 0xff00
cmp eax, 0x2800
jbe 0x52bd69
mov eax, dword [ebp + 0x64b7ac]
mov ecx, 0x5d381c
push eax
push eax
call fcn.00488710
pop edi
pop esi
pop ebp
mov eax, 3
pop ebx
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.00530218
add esp, 0x48
ret 4
cmp cl, 0x64
ja 0x52bd3d
mov eax, 0xc8
cmp word [esp + 0x14], ax
ja 0x52bd3d
movzx eax, word [esp + 0x20]
inc eax
mov dword [esi + 0x3c], 0
push eax
mov dword [esi + 0x4c], 0
mov dword [esp + 0x34], eax
call fcn.005398b8
add esp, 4
mov dword [esp + 0x10], eax
mov dword [esi + 0x48], eax
test eax, eax
je 0x52bb98
cmp word [esp + 0x34], 0
mov eax, dword [esp + 0x18]
movzx eax, ax
mov dword [esp + 0x14], eax
je 0x52bdd7
push eax
call fcn.005398b8
add esp, 4
mov dword [esp + 0x18], eax
mov dword [esi + 0x3c], eax
test eax, eax
je 0x52bb98
jmp 0x52bddf
mov dword [esp + 0x18], 0
mov eax, dword [edi]
mov edi, dword [eax + 0xc]
mov ecx, edi
movzx eax, word [esp + 0x20]
push eax
push dword [esp + 0x14]
call dword [0x55770c]
mov ecx, dword [esp + 0x24]
call edi
movzx ecx, word [esp + 0x20]
cmp eax, ecx
jne 0x52bb52
cmp word [esp + 0x24], 0
je 0x52be3e
mov eax, dword [esp + 0x1c]
push dword [esp + 0x14]
push dword [esp + 0x1c]
mov eax, dword [eax]
mov edi, dword [eax + 0xc]
mov ecx, edi
call dword [0x55770c]
mov ecx, dword [esp + 0x24]
call edi
mov ecx, dword [esp + 0x14]
cmp eax, ecx
jne 0x52bb52
jmp 0x52be42
mov ecx, dword [esp + 0x14]
movzx edx, word [esp + 0x20]
mov eax, dword [esp + 0x10]
mov byte [edx + eax], 0
mov edx, dword [esp + 0x18]
add ecx, edx
mov dword [ebp + 0x64b7a4], 0
test edx, edx
je 0x52c027
lea eax, [ecx - 4]
mov dword [esp + 0x1c], ecx
mov edi, edx
cmp edx, eax
jae 0x52c027
jmp 0x52be80
movzx ecx, byte [edi + 1]
movzx eax, byte [edi]
shl cx, 8
or cx, ax
cmp cx, 1
je 0x52beb6
movzx ecx, byte [edi + 3]
movzx eax, byte [edi + 2]
shl ecx, 8
or ecx, eax
add ecx, 4
add edi, ecx
mov ecx, dword [esp + 0x1c]
lea eax, [ecx - 4]
cmp edi, eax
jb 0x52be80
jmp 0x52c027
test edi, edi
je 0x52c023
add edi, 4
mov dword [ebp + 0x64b7a4], 1
cmp dword [esi + 0x18], 0xffffffff
mov dword [esp + 0x14], edi
jne 0x52bf71
cmp dword [esi + 0x1c], 0
jne 0x52bf71
movzx eax, byte [edi + 7]
xor ebx, ebx
cdq
mov ebp, eax
mov ecx, edx
movzx eax, byte [edi + 6]
shld ecx, ebp, 8
cdq
or ecx, edx
shl ebp, 8
or ebp, eax
movzx eax, byte [edi + 5]
shld ecx, ebp, 8
cdq
or ecx, edx
shl ebp, 8
or ebp, eax
movzx eax, byte [edi + 4]
shld ecx, ebp, 8
cdq
shl ebp, 8
or ebp, eax
movzx eax, byte [edi + 3]
cdq
mov ecx, eax
mov edi, edx
mov eax, dword [esp + 0x14]
shld edi, ecx, 8
shl ecx, 8
movzx eax, byte [eax + 2]
cdq
or ecx, eax
or edi, edx
mov eax, dword [esp + 0x14]
shld edi, ecx, 8
shl ecx, 8
movzx eax, byte [eax + 1]
cdq
or ecx, eax
or edi, edx
shld edi, ecx, 8
or ebp, edi
shl ecx, 8
mov edi, dword [esp + 0x14]
or ebx, ecx
movzx eax, byte [edi]
cdq
or ebx, eax
or ebp, edx
add edi, 8
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebp
mov dword [esp + 0x14], edi
cmp dword [esi + 0x10], 0xffffffff
jne 0x52c00c
cmp dword [esi + 0x14], 0
jne 0x52c00c
movzx eax, byte [edi + 7]
xor ebx, ebx
cdq
mov ebp, eax
mov ecx, edx
movzx eax, byte [edi + 6]
shld ecx, ebp, 8
cdq
or ecx, edx
shl ebp, 8
or ebp, eax
movzx eax, byte [edi + 5]
shld ecx, ebp, 8
cdq
or ecx, edx
shl ebp, 8
or ebp, eax
movzx eax, byte [edi + 4]
shld ecx, ebp, 8
cdq
shl ebp, 8
or ebp, eax
movzx eax, byte [edi + 3]
cdq
mov ecx, eax
mov edi, edx
mov eax, dword [esp + 0x14]
shld edi, ecx, 8
shl ecx, 8
movzx eax, byte [eax + 2]
cdq
or ecx, eax
or edi, edx
mov eax, dword [esp + 0x14]
shld edi, ecx, 8
shl ecx, 8
movzx eax, byte [eax + 1]
cdq
or ecx, eax
or edi, edx
mov eax, dword [esp + 0x14]
shld edi, ecx, 8
shl ecx, 8
or ebp, edi
movzx eax, byte [eax]
or ebx, ecx
cdq
or ebx, eax
or ebp, edx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebp
mov ebp, dword [esp + 0x28]
mov eax, 1
mov ebx, dword [esp + 0x2c]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
jmp 0x52c02d
mov ecx, dword [esp + 0x1c]
mov eax, dword [ebp + 0x64b7a4]
movzx edi, word [esi + 0x2e]
mov dword [ebp + 0x64b7a4], eax
mov ax, word [ebx]
mov word [esi], ax
test edi, 0x800
je 0x52c079
mov edi, dword [esp + 0x10]
mov ecx, ebp
push edi
mov dword [esi + 0x4c], edi
call fcn.00523150
test eax, eax
jne 0x52c071
push edi
call fcn.0053f9a8
add esp, 4
mov dword [esi + 0x48], eax
test eax, eax
je 0x52bb98
jmp 0x52c1ad
mov dword [esi + 0x48], eax
jmp 0x52c1ad
test edx, edx
je 0x52c1b1
lea edi, [ecx - 4]
cmp edx, edi
jae 0x52c1ad
lea esp, [esp]
movzx ecx, byte [edx + 1]
movzx eax, byte [edx]
shl cx, 8
or cx, ax
mov eax, 0x7075
cmp cx, ax
je 0x52c0c3
movzx ecx, byte [edx + 3]
movzx eax, byte [edx + 2]
add edx, 4
shl ecx, 8
or ecx, eax
add edx, ecx
cmp edx, edi
jb 0x52c090
jmp 0x52c1ad
test edx, edx
je 0x52c1ad
movzx ecx, byte [edx + 3]
movzx eax, byte [edx + 2]
shl cx, 8
or cx, ax
cmp byte [edx + 4], 1
movzx eax, cx
mov dword [esp + 0x28], eax
ja 0x52c1ad
movzx ecx, byte [edx + 8]
movzx eax, byte [edx + 7]
mov edi, dword [esp + 0x10]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 6]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 5]
shl ecx, 8
or ecx, eax
add edx, 9
mov dword [esp + 0x2c], ecx
mov ecx, edi
mov dword [esp + 0x24], edx
lea edx, [ecx + 1]
mov edi, edi
mov al, byte [ecx]
inc ecx
test al, al
jne 0x52c120
sub ecx, edx
push ecx
push edi
push 0xffffffffffffffff
call fcn.00482e80
not eax
cmp eax, dword [esp + 0x2c]
jne 0x52c1ad
mov eax, dword [esp + 0x28]
add eax, 0xfffffffb
movzx eax, ax
mov dword [esp + 0x10], eax
test ax, ax
jne 0x52c177
push dword [esp + 0x30]
call fcn.005398b8
add esp, 4
mov dword [esp + 0x30], eax
test eax, eax
je 0x52c1ad
mov edx, eax
mov cl, byte [edi]
lea edi, [edi + 1]
mov byte [edx], cl
lea edx, [edx + 1]
test cl, cl
jne 0x52c163
mov edi, dword [esp + 0x30]
jmp 0x52c1aa
movzx eax, ax
inc eax
push eax
call fcn.005398b8
mov edi, eax
add esp, 4
test edi, edi
je 0x52c1ad
mov ecx, dword [esp + 0x10]
movzx eax, cx
push eax
push dword [esp + 0x28]
push edi
call fcn.0053c4d0
mov ecx, dword [esp + 0x1c]
add esp, 0xc
movzx eax, cx
mov byte [eax + edi], 0
mov dword [esi + 0x4c], edi
movzx edi, word [esi + 0x2e]
movzx ecx, word [esi]
movzx eax, cl
push eax
shr ecx, 8
push ecx
call fcn.004eec90
test al, al
je 0x52c1d0
mov eax, dword [esi + 0x48]
push eax
push eax
call dword [sym.imp.USER32.dll_OemToCharA]
cmp dword [ebp + 0x6486a8], 2
jne 0x52c210
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x1c]
mov dword [ebx + 0x18], eax
mov eax, dword [esi + 0x10]
mov dword [ebx + 0x1c], ecx
mov ecx, dword [esi + 0x14]
mov dword [esi + 0x50], 0
mov dword [esi + 0x54], 0
mov word [esi + 4], di
mov dword [ebx + 0x50], 0
mov word [ebx + 4], di
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x14], ecx
jmp 0x52c228
mov eax, dword [ebx + 0x18]
mov ecx, dword [ebx + 0x1c]
mov dword [esi + 0x18], eax
mov eax, dword [ebx + 0x10]
mov dword [esi + 0x1c], ecx
mov ecx, dword [ebx + 0x14]
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], ecx
mov eax, dword [esi + 0x4c]
mov ecx, ebp
test eax, eax
je 0x52c239
push eax
call fcn.0052dde0
jmp 0x52c241
push dword [esi + 0x48]
call fcn.0052db60
mov dword [ebx + 0x54], eax
cmp dword [ebp + 0x6486a8], 3
jne 0x52c2a3
mov ecx, dword [ebx + 0x48]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x52c253
push dword [esi + 0x48]
sub ecx, edx
movzx eax, cx
mov word [ebx + 0x20], ax
mov word [esi + 0x20], ax
call fcn.0053867f
push dword [ebx + 0x48]
call fcn.0053f9a8
add esp, 8
mov dword [esi + 0x48], eax
test eax, eax
je 0x52bb98
push dword [esi + 0x4c]
call fcn.0053867f
mov eax, dword [ebx + 0x4c]
add esp, 4
test eax, eax
je 0x52c2a0
push eax
call fcn.0053f9a8
add esp, 4
mov dword [esi + 0x4c], eax
mov eax, dword [ebp + 0x64b7f4]
mov dword [ebx + 0x28], eax
mov ecx, dword [ebp + 0x64b83c]
mov eax, dword [ebp + 0x64b838]
mov dword [ebx + 0x30], eax
mov dword [ebx + 0x34], ecx
mov ecx, dword [ebp + 0x6486a8]
mov dword [esp + 0x18], ecx
cmp ecx, 2
je 0x52c301
movzx eax, word [ebx + 4]
mov dword [esp + 0x18], ecx
test al, 1
jne 0x52c301
and eax, 0xfff7
mov word [ebx + 4], ax
mov word [esi + 4], ax
mov eax, 0xfff7
and word [esi + 0x2e], ax
mov ax, word [esi + 0x2e]
mov word [ebx + 0x2e], ax
mov eax, dword [ebp + 0x6486a8]
mov dword [esp + 0x18], eax
test byte [ebx + 0x2e], 8
mov dword [esp + 0x10], 0
je 0x52c328
cmp dword [ebp + 0x64b7a4], 0
mov dword [esp + 0x10], 0x18
jne 0x52c328
mov dword [esp + 0x10], 0x10
movzx eax, word [esi + 0x22]
cdq
mov ecx, eax
mov edi, edx
movzx eax, word [esi + 0x20]
cdq
add ecx, eax
adc edi, edx
add ecx, dword [esp + 0x10]
adc edi, 0
add ecx, dword [ebx + 0x10]
adc edi, dword [ebx + 0x14]
add ecx, dword [ebp + 0x64b7c8]
adc edi, dword [ebp + 0x64b7cc]
add ecx, 0x1e
mov dword [ebp + 0x64b7c8], ecx
adc edi, 0
cmp dword [esp + 0x18], 2
mov dword [ebp + 0x64b7cc], edi
jne 0x52c374
mov eax, dword [esi + 0xc]
mov dword [ebx + 0xc], eax
jmp 0x52c37a
mov eax, dword [ebx + 0xc]
mov dword [esi + 0xc], eax
push 0
push esi
mov ecx, ebp
call fcn.00528500
test eax, eax
je 0x52c3a2
pop edi
pop esi
pop ebp
mov eax, 0xa
pop ebx
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.00530218
add esp, 0x48
ret 4
cmp dword [ebp + 0x6486a8], 2
jne 0x52c3bb
test byte [esi + 0x2e], 8
je 0x52c3bb
mov eax, 0xfffffffe
or ecx, 0xffffffff
jmp 0x52c3c1
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x14]
push ecx
push eax
mov ecx, ebp
call fcn.005219d0
mov edi, eax
mov dword [esp + 0x10], edi
cmp edi, 9
jne 0x52c41d
cmp word [esi + 0x22], 0
je 0x52c3e7
push dword [esi + 0x3c]
call fcn.0053867f
add esp, 4
cmp word [esi + 0x20], 0
je 0x52c3f9
push dword [esi + 0x48]
call fcn.0053867f
add esp, 4
mov eax, dword [esi + 0x4c]
test eax, eax
je 0x52c409
push eax
call fcn.0053867f
add esp, 4
push esi
call fcn.0053867f
add esp, 4
mov ecx, ebp
push 9
call fcn.00524630
jmp 0x52c426
cmp edi, 2
je 0x52c665
cmp dword [ebp + 0x64b778], 0
lea eax, [ebp + 0x64b778]
jne 0x52c657
cmp dword [ebp + 0x6486a8], 2
jne 0x52c482
test byte [ebx + 4], 8
je 0x52c490
cmp dword [ebp + 0x64b77c], 0
je 0x52c58e
mov eax, dword [ebp + 0x64b780]
mov ecx, dword [ebp + 0x64b78c]
mov dword [esi + 0xc], eax
mov eax, dword [ebp + 0x64b788]
mov dword [esi + 0x10], eax
mov eax, dword [ebp + 0x64b790]
mov dword [esi + 0x14], ecx
mov ecx, dword [ebp + 0x64b794]
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], ecx
test byte [ebx + 4], 8
je 0x52c490
push esi
mov ecx, ebp
call fcn.005283c0
cmp dword [ebp + 0x64b840], 1
jne 0x52c4ca
mov ecx, dword [ebp + 0x64b7f0]
cmp ecx, dword [ebp + 0x64b7f4]
je 0x52c4ca
push dword [ebp + 0x64b828]
lea eax, [ebp + 0x64a738]
push eax
push ecx
mov ecx, ebp
call fcn.005228c0
push dword [ebp + 0x64b828]
call fcn.0053867f
add esp, 4
cmp dword [ebp + 0x6486a8], 2
jne 0x52c5e5
movzx eax, word [esi + 2]
mov ecx, dword [esi + 0x1c]
mov word [ebx + 2], ax
movzx eax, word [esi + 6]
mov word [ebx + 6], ax
mov eax, dword [esi + 8]
mov dword [ebx + 8], eax
mov eax, dword [esi + 0xc]
mov dword [ebx + 0xc], eax
movzx eax, word [esi + 0x2e]
mov word [ebx + 0x2e], ax
mov word [ebx + 4], ax
mov eax, dword [esi + 0x18]
mov dword [ebx + 0x18], eax
mov eax, dword [esi + 0x10]
mov dword [ebx + 0x1c], ecx
mov ecx, dword [esi + 0x14]
mov dword [ebx + 0x10], eax
movzx eax, word [esi + 0x20]
mov dword [ebx + 0x14], ecx
movzx ecx, word [esi + 0x22]
mov word [ebx + 0x20], ax
mov eax, dword [esi + 0x3c]
mov word [ebx + 0x22], cx
mov dword [ebx + 0x3c], eax
mov word [ebx + 0x24], cx
mov dword [ebx + 0x40], 0
test cx, cx
je 0x52c570
lea eax, [ecx + 1]
push eax
call fcn.005398b8
add esp, 4
mov dword [ebx + 0x40], eax
test eax, eax
je 0x52bb98
movzx ecx, word [esi + 0x22]
push ecx
push dword [esi + 0x3c]
push eax
call fcn.00531d40
movzx ecx, word [esi + 0x22]
add esp, 0xc
mov eax, dword [ebx + 0x40]
mov byte [ecx + eax], 0
xor eax, eax
mov word [ebx + 0x26], ax
mov word [ebx + 0x2c], ax
mov dword [ebx + 0x38], eax
mov eax, dword [esi + 0x48]
mov dword [ebx + 0x48], eax
mov eax, dword [esi + 0x4c]
mov dword [ebx + 0x4c], eax
jmp 0x52c622
cmp word [esi + 0x22], 0
je 0x52c5a0
push dword [esi + 0x3c]
call fcn.0053867f
add esp, 4
cmp word [esi + 0x20], 0
je 0x52c5b2
push dword [esi + 0x48]
call fcn.0053867f
add esp, 4
mov eax, dword [esi + 0x4c]
test eax, eax
je 0x52c5c2
push eax
call fcn.0053867f
add esp, 4
push esi
call fcn.0053867f
add esp, 4
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.00530218
add esp, 0x48
ret 4
cmp word [esi + 0x22], 0
je 0x52c5f7
push dword [esi + 0x3c]
call fcn.0053867f
add esp, 4
cmp word [esi + 0x20], 0
je 0x52c609
push dword [esi + 0x48]
call fcn.0053867f
add esp, 4
mov eax, dword [esi + 0x4c]
test eax, eax
je 0x52c619
push eax
call fcn.0053867f
add esp, 4
push esi
call fcn.0053867f
add esp, 4
cmp dword [ebp + 0x6486a8], 2
jne 0x52c640
cmp edi, 0xb
jne 0x52c640
push dword [ebp + 0x64b7ac]
mov ecx, 0x5d381c
call fcn.00487740
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.00530218
add esp, 0x48
ret 4
test edi, edi
jne 0x52c66f
mov dword [esp + 0x10], 3
jmp 0x52c66f
lea eax, [ebp + 0x64b778]
mov dword [esp + 0x10], edi
cmp dword [ebp + 0x6486a8], 2
jne 0x52c6c9
mov edi, dword [ebp + 0x6486b8]
push 0
push dword [ebp + 0x64b834]
mov dword [eax], 0
push dword [ebp + 0x64b830]
mov edi, dword [edi + 0x10]
mov ecx, edi
call dword [0x55770c]
lea ecx, [ebp + 0x6486b8]
call edi
mov eax, dword [ebp + 0x64b830]
mov ecx, dword [ebp + 0x64b834]
mov dword [ebp + 0x64b838], eax
mov dword [ebp + 0x64b83c], ecx
mov dword [ebp + 0x64b7c8], eax
mov dword [ebp + 0x64b7cc], ecx
cmp word [esi + 0x22], 0
je 0x52c6db
push dword [esi + 0x3c]
call fcn.0053867f
add esp, 4
cmp word [esi + 0x20], 0
je 0x52c6ed
push dword [esi + 0x48]
call fcn.0053867f
add esp, 4
mov eax, dword [esi + 0x4c]
test eax, eax
je 0x52c6fd
push eax
call fcn.0053867f
add esp, 4
push esi
call fcn.0053867f
mov ecx, dword [esp + 0x58]
add esp, 4
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00530218
add esp, 0x48
ret 4