Function at 0x52ae20
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x48
mov eax, dword [0x58bb30]
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 0x52afb2
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 0x52ae8b
mov eax, dword [edi]
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x55670c]
mov ecx, edi
call esi
mov eax, dword [esp + 0x10]
jmp 0x52ae8f
mov dword [esp + 0x1c], edi
push eax
push dword [ebp + 0x64b7d0]
mov ecx, ebp
mov dword [ebp + 0x64b7e0], eax
call fcn.00521e40
mov ecx, dword [edi]
mov dword [esp + 0x14], eax
mov esi, dword [ecx + 0x18]
mov ecx, esi
call dword [0x55670c]
mov ecx, edi
call esi
test al, al
jne 0x52af6a
mov eax, dword [edi]
push 0
push dword [esp + 0x18]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x55670c]
mov ecx, edi
call esi
test al, al
jne 0x52af6a
nop
cmp dword [ebp + 0x64b798], 0
mov esi, dword [esp + 0x14]
jne 0x52af01
push esi
mov ecx, 0x5d281c
call fcn.004878a0
push 0x12
mov ecx, ebp
call fcn.00523b10
push dword [esp + 0x10]
mov ecx, ebp
call fcn.005208c0
cmp eax, 9
je 0x52af98
mov ecx, dword [ebp + 0x6486a8]
cmp ecx, 1
je 0x52af25
cmp ecx, 2
jne 0x52af2e
cmp eax, 3
je 0x52aff1
push esi
call fcn.00537b6f
add esp, 4
mov ecx, ebp
push dword [esp + 0x10]
push dword [ebp + 0x64b7d0]
call fcn.00521e40
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 [0x55670c]
mov ecx, edi
call esi
test al, al
je 0x52aee0
mov eax, dword [esp + 0x14]
test eax, eax
je 0x52af7b
push eax
call fcn.00537b6f
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 [0x55670c]
mov ecx, edi
call esi
jmp 0x52afb6
pop edi
pop esi
pop ebp
mov eax, 9
pop ebx
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.0052f708
add esp, 0x48
ret 4
mov dword [esp + 0x1c], edi
cmp dword [ebp + 0x6486a8], 2
je 0x52b00b
push 0x56cf04
push edi
mov ecx, ebp
call fcn.00526710
test eax, eax
jne 0x52b00b
mov eax, dword [edi]
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x55670c]
mov ecx, edi
call esi
push dword [ebp + 0x64b7ac]
mov ecx, 0x5d281c
call fcn.00486f40
pop edi
pop esi
pop ebp
mov eax, 3
pop ebx
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.0052f708
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 [0x55670c]
mov ecx, edi
call esi
cmp eax, 0x1a
je 0x52b05c
cmp dword [ebp + 0x6486a8], 2
je 0x52b042
mov eax, dword [edi]
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x55670c]
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.0052f708
add esp, 0x48
ret 4
push 0x68
call fcn.00538da8
mov esi, eax
add esp, 4
mov eax, dword [ebp + 0x6486a8]
test esi, esi
jne 0x52b0a2
cmp eax, 2
je 0x52b088
mov eax, dword [edi]
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x55670c]
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.0052f708
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 0x52b205
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 0x52b216
or edx, ecx
mov word [esi + 0x2e], dx
cmp eax, 2
jne 0x52b26a
mov ecx, dword [esp + 0x10]
mov eax, ecx
and eax, 0xff00
cmp eax, 0x2800
jbe 0x52b259
mov eax, dword [ebp + 0x64b7ac]
mov ecx, 0x5d281c
push eax
push eax
call fcn.00487f10
pop edi
pop esi
pop ebp
mov eax, 3
pop ebx
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.0052f708
add esp, 0x48
ret 4
cmp cl, 0x64
ja 0x52b22d
mov eax, 0xc8
cmp word [esp + 0x14], ax
ja 0x52b22d
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.00538da8
add esp, 4
mov dword [esp + 0x10], eax
mov dword [esi + 0x48], eax
test eax, eax
je 0x52b088
cmp word [esp + 0x34], 0
mov eax, dword [esp + 0x18]
movzx eax, ax
mov dword [esp + 0x14], eax
je 0x52b2c7
push eax
call fcn.00538da8
add esp, 4
mov dword [esp + 0x18], eax
mov dword [esi + 0x3c], eax
test eax, eax
je 0x52b088
jmp 0x52b2cf
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 [0x55670c]
mov ecx, dword [esp + 0x24]
call edi
movzx ecx, word [esp + 0x20]
cmp eax, ecx
jne 0x52b042
cmp word [esp + 0x24], 0
je 0x52b32e
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 [0x55670c]
mov ecx, dword [esp + 0x24]
call edi
mov ecx, dword [esp + 0x14]
cmp eax, ecx
jne 0x52b042
jmp 0x52b332
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 0x52b517
lea eax, [ecx - 4]
mov dword [esp + 0x1c], ecx
mov edi, edx
cmp edx, eax
jae 0x52b517
jmp 0x52b370
movzx ecx, byte [edi + 1]
movzx eax, byte [edi]
shl cx, 8
or cx, ax
cmp cx, 1
je 0x52b3a6
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 0x52b370
jmp 0x52b517
test edi, edi
je 0x52b513
add edi, 4
mov dword [ebp + 0x64b7a4], 1
cmp dword [esi + 0x18], 0xffffffff
mov dword [esp + 0x14], edi
jne 0x52b461
cmp dword [esi + 0x1c], 0
jne 0x52b461
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 0x52b4fc
cmp dword [esi + 0x14], 0
jne 0x52b4fc
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 0x52b51d
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 0x52b569
mov edi, dword [esp + 0x10]
mov ecx, ebp
push edi
mov dword [esi + 0x4c], edi
call fcn.00522630
test eax, eax
jne 0x52b561
push edi
call fcn.0053ee98
add esp, 4
mov dword [esi + 0x48], eax
test eax, eax
je 0x52b088
jmp 0x52b69d
mov dword [esi + 0x48], eax
jmp 0x52b69d
test edx, edx
je 0x52b6a1
lea edi, [ecx - 4]
cmp edx, edi
jae 0x52b69d
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 0x52b5b3
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 0x52b580
jmp 0x52b69d
test edx, edx
je 0x52b69d
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 0x52b69d
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 0x52b610
sub ecx, edx
push ecx
push edi
push 0xffffffffffffffff
call fcn.004826b0
not eax
cmp eax, dword [esp + 0x2c]
jne 0x52b69d
mov eax, dword [esp + 0x28]
add eax, 0xfffffffb
movzx eax, ax
mov dword [esp + 0x10], eax
test ax, ax
jne 0x52b667
push dword [esp + 0x30]
call fcn.00538da8
add esp, 4
mov dword [esp + 0x30], eax
test eax, eax
je 0x52b69d
mov edx, eax
mov cl, byte [edi]
lea edi, [edi + 1]
mov byte [edx], cl
lea edx, [edx + 1]
test cl, cl
jne 0x52b653
mov edi, dword [esp + 0x30]
jmp 0x52b69a
movzx eax, ax
inc eax
push eax
call fcn.00538da8
mov edi, eax
add esp, 4
test edi, edi
je 0x52b69d
mov ecx, dword [esp + 0x10]
movzx eax, cx
push eax
push dword [esp + 0x28]
push edi
call fcn.0053b9c0
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.004ee0f0
test al, al
je 0x52b6c0
mov eax, dword [esi + 0x48]
push eax
push eax
call dword [sym.imp.USER32.dll_OemToCharA]
cmp dword [ebp + 0x6486a8], 2
jne 0x52b700
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 0x52b718
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 0x52b729
push eax
call fcn.0052d2d0
jmp 0x52b731
push dword [esi + 0x48]
call fcn.0052d050
mov dword [ebx + 0x54], eax
cmp dword [ebp + 0x6486a8], 3
jne 0x52b793
mov ecx, dword [ebx + 0x48]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x52b743
push dword [esi + 0x48]
sub ecx, edx
movzx eax, cx
mov word [ebx + 0x20], ax
mov word [esi + 0x20], ax
call fcn.00537b6f
push dword [ebx + 0x48]
call fcn.0053ee98
add esp, 8
mov dword [esi + 0x48], eax
test eax, eax
je 0x52b088
push dword [esi + 0x4c]
call fcn.00537b6f
mov eax, dword [ebx + 0x4c]
add esp, 4
test eax, eax
je 0x52b790
push eax
call fcn.0053ee98
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 0x52b7f1
movzx eax, word [ebx + 4]
mov dword [esp + 0x18], ecx
test al, 1
jne 0x52b7f1
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 0x52b818
cmp dword [ebp + 0x64b7a4], 0
mov dword [esp + 0x10], 0x18
jne 0x52b818
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 0x52b864
mov eax, dword [esi + 0xc]
mov dword [ebx + 0xc], eax
jmp 0x52b86a
mov eax, dword [ebx + 0xc]
mov dword [esi + 0xc], eax
push 0
push esi
mov ecx, ebp
call fcn.005279f0
test eax, eax
je 0x52b892
pop edi
pop esi
pop ebp
mov eax, 0xa
pop ebx
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.0052f708
add esp, 0x48
ret 4
cmp dword [ebp + 0x6486a8], 2
jne 0x52b8ab
test byte [esi + 0x2e], 8
je 0x52b8ab
mov eax, 0xfffffffe
or ecx, 0xffffffff
jmp 0x52b8b1
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x14]
push ecx
push eax
mov ecx, ebp
call fcn.00520e80
mov edi, eax
mov dword [esp + 0x10], edi
cmp edi, 9
jne 0x52b90d
cmp word [esi + 0x22], 0
je 0x52b8d7
push dword [esi + 0x3c]
call fcn.00537b6f
add esp, 4
cmp word [esi + 0x20], 0
je 0x52b8e9
push dword [esi + 0x48]
call fcn.00537b6f
add esp, 4
mov eax, dword [esi + 0x4c]
test eax, eax
je 0x52b8f9
push eax
call fcn.00537b6f
add esp, 4
push esi
call fcn.00537b6f
add esp, 4
mov ecx, ebp
push 9
call fcn.00523b10
jmp 0x52b916
cmp edi, 2
je 0x52bb55
cmp dword [ebp + 0x64b778], 0
lea eax, [ebp + 0x64b778]
jne 0x52bb47
cmp dword [ebp + 0x6486a8], 2
jne 0x52b972
test byte [ebx + 4], 8
je 0x52b980
cmp dword [ebp + 0x64b77c], 0
je 0x52ba7e
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 0x52b980
push esi
mov ecx, ebp
call fcn.005278b0
cmp dword [ebp + 0x64b840], 1
jne 0x52b9ba
mov ecx, dword [ebp + 0x64b7f0]
cmp ecx, dword [ebp + 0x64b7f4]
je 0x52b9ba
push dword [ebp + 0x64b828]
lea eax, [ebp + 0x64a738]
push eax
push ecx
mov ecx, ebp
call fcn.00521da0
push dword [ebp + 0x64b828]
call fcn.00537b6f
add esp, 4
cmp dword [ebp + 0x6486a8], 2
jne 0x52bad5
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 0x52ba60
lea eax, [ecx + 1]
push eax
call fcn.00538da8
add esp, 4
mov dword [ebx + 0x40], eax
test eax, eax
je 0x52b088
movzx ecx, word [esi + 0x22]
push ecx
push dword [esi + 0x3c]
push eax
call fcn.00531230
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 0x52bb12
cmp word [esi + 0x22], 0
je 0x52ba90
push dword [esi + 0x3c]
call fcn.00537b6f
add esp, 4
cmp word [esi + 0x20], 0
je 0x52baa2
push dword [esi + 0x48]
call fcn.00537b6f
add esp, 4
mov eax, dword [esi + 0x4c]
test eax, eax
je 0x52bab2
push eax
call fcn.00537b6f
add esp, 4
push esi
call fcn.00537b6f
add esp, 4
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.0052f708
add esp, 0x48
ret 4
cmp word [esi + 0x22], 0
je 0x52bae7
push dword [esi + 0x3c]
call fcn.00537b6f
add esp, 4
cmp word [esi + 0x20], 0
je 0x52baf9
push dword [esi + 0x48]
call fcn.00537b6f
add esp, 4
mov eax, dword [esi + 0x4c]
test eax, eax
je 0x52bb09
push eax
call fcn.00537b6f
add esp, 4
push esi
call fcn.00537b6f
add esp, 4
cmp dword [ebp + 0x6486a8], 2
jne 0x52bb30
cmp edi, 0xb
jne 0x52bb30
push dword [ebp + 0x64b7ac]
mov ecx, 0x5d281c
call fcn.00486f40
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.0052f708
add esp, 0x48
ret 4
test edi, edi
jne 0x52bb5f
mov dword [esp + 0x10], 3
jmp 0x52bb5f
lea eax, [ebp + 0x64b778]
mov dword [esp + 0x10], edi
cmp dword [ebp + 0x6486a8], 2
jne 0x52bbb9
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 [0x55670c]
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 0x52bbcb
push dword [esi + 0x3c]
call fcn.00537b6f
add esp, 4
cmp word [esi + 0x20], 0
je 0x52bbdd
push dword [esi + 0x48]
call fcn.00537b6f
add esp, 4
mov eax, dword [esi + 0x4c]
test eax, eax
je 0x52bbed
push eax
call fcn.00537b6f
add esp, 4
push esi
call fcn.00537b6f
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.0052f708
add esp, 0x48
ret 4