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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
mov eax, dword [0x57a040]
xor eax, esp
mov dword [esp + 0x28], eax
push ebx
mov ebx, ecx
push esi
push edi
mov edi, edx
cmp word [ebx + 0x78], 1
mov dword [esp + 0x24], edi
jne 0x52251a
mov ecx, dword [ebx]
push 5
mov dword [esp + 0x18], 0x1b805c1
mov byte [esp + 0x1c], 0
mov eax, dword [ecx*4 + 0x20a514c]
mov byte [eax + 0xdd4], 0
lea eax, [esp + 0x18]
push eax
push ecx
call fcn.005192f0
cmp word [edi + 0x78], 1
jne 0x521812
push edi
push ebx
call fcn.0044be30
mov al, byte [ebx + 0x149]
mov byte [esp + 0x23], al
cmp al, 0x28
jne 0x521944
cmp dword [0x620e9c], 0
je 0x52251a
mov edx, 0x621828
mov dword [esp + 0x1c], edx
nop word [eax + eax]
mov eax, dword [edx]
cmp eax, 0x1d
ja 0x52191c
imul eax, eax, 0xb9c
cmp dword [eax + 0x62182c], 3
jne 0x52191c
mov ecx, dword [ebx]
test ecx, ecx
js 0x52251a
cmp ecx, 0x1194
jge 0x52251a
lea esi, [edx + 0xa0]
xor eax, eax
mov edi, esi
nop
cmp dword [edi], ecx
je 0x52189f
inc eax
add edi, 0x1c
cmp eax, 0x64
jl 0x521880
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.00529f01
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x24]
mov ecx, dword [eax]
test ecx, ecx
js 0x52251a
cmp ecx, 0x1194
jge 0x52251a
xor eax, eax
nop dword [eax + eax]
cmp dword [esi], ecx
je 0x5218df
inc eax
add esi, 0x1c
cmp eax, 0x64
jl 0x5218c0
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.00529f01
mov esp, ebp
pop ebp
ret
mov edx, dword [edi + 4]
mov ecx, edx
cmp edx, dword [0x620ea0]
cmovg ecx, dword [0x620ea0]
inc dword [edi + 0x14]
sub edx, ecx
inc dword [edi + 0x18]
mov dword [edi + 4], edx
mov edx, dword [esp + 0x1c]
mov dword [edi + 0x10], 0
mov eax, dword [0x620ea4]
add dword [esi + 4], eax
inc dword [esi + 0xc]
inc dword [esi + 0x10]
mov dword [esi + 0x18], 0
add edx, 0xb9c
mov dword [esp + 0x1c], edx
cmp edx, 0x637470
jl 0x521840
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.00529f01
mov esp, ebp
pop ebp
ret
cmp al, 9
je 0x5224b8
cmp al, 0x20
je 0x5224b8
cmp al, 0xb
jb 0x521d66
cmp al, 0x11
jbe 0x521d4d
cmp al, 0x34
je 0x521d4d
cmp al, 0x17
jbe 0x521c2b
cmp al, 0x35
jne 0x52198a
or esi, 0xffffffff
mov ecx, 6
cmp al, al
cmove esi, ecx
jmp 0x521c31
cmp al, 0x2d
jb 0x521d66
cmp al, 0x32
ja 0x521aaf
movzx eax, al
add eax, 0xffffffd3
js 0x52251a
cmp eax, 6
jge 0x52251a
imul eax, eax, 0x2ac
cmp dword [eax + 0x9d2b70], 3
jne 0x52251a
mov edx, dword [ebx]
test edx, edx
js 0x52251a
cmp edx, 0x1194
jge 0x52251a
lea esi, [eax + 0x9d2bbc]
xor ecx, ecx
mov eax, esi
cmp dword [eax], edx
je 0x521a01
inc ecx
add eax, 0x14
cmp ecx, 0xa
jl 0x5219e2
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.00529f01
mov esp, ebp
pop ebp
ret
test eax, eax
je 0x52251a
push edx
call fcn.0048c1e0
push 0x22
push ebx
call fcn.004774b0
push 0x41
push ebx
call fcn.004774b0
cmp word [edi + 0x78], 1
jne 0x52251a
mov edx, dword [edi]
test edx, edx
js 0x52251a
cmp edx, 0x1194
jge 0x52251a
xor eax, eax
mov ecx, dword [esi]
cmp ecx, edx
je 0x521a63
inc eax
add esi, 0x14
cmp eax, 0xa
jl 0x521a42
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.00529f01
mov esp, ebp
pop ebp
ret
test esi, esi
je 0x52251a
mov eax, dword [esi + 8]
add eax, 5
cmp eax, 0x5a
jle 0x521a7f
mov al, 0x5a
mov edx, 0x5a
jmp 0x521a81
mov edx, eax
mov dword [esi + 8], edx
mov byte [esp + 0x18], al
lea eax, [esp + 0x14]
push 5
push eax
push ecx
mov dword [esp + 0x20], 0x6bf05c1
call fcn.005192f0
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.00529f01
mov esp, ebp
pop ebp
ret
cmp al, 0x41
jb 0x521d66
cmp al, 0x44
ja 0x521b63
cmp dword [0x64376c], 2
jne 0x52251a
movzx eax, al
cmp dword [0x643770], eax
jne 0x52251a
mov edx, dword [ebx]
test edx, edx
js 0x52251a
cmp edx, 0x1194
jge 0x52251a
xor eax, eax
nop dword [eax]
nop word [eax + eax]
cmp dword [eax*4 + 0x6437a0], edx
lea ecx, [eax*4 + 0x6437a0]
je 0x521b28
inc eax
cmp eax, 5
jl 0x521b00
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.00529f01
mov esp, ebp
pop ebp
ret
test ecx, ecx
je 0x52251a
push 5
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0x13bf05c1
push eax
push edx
mov byte [esp + 0x24], 1
call fcn.005192f0
push dword [ebx]
call fcn.0046a840
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.00529f01
mov esp, ebp
pop ebp
ret
cmp al, 0x45
jb 0x521d66
cmp al, 0x48
ja 0x521d66
mov ecx, dword [0x9d3c40]
cmp ecx, 2
je 0x521b91
cmp ecx, 4
je 0x521b91
cmp ecx, 6
je 0x521b91
cmp ecx, 8
jne 0x52251a
movzx eax, al
cmp dword [0x9d3c44], eax
jne 0x52251a
mov edx, dword [ebx]
test edx, edx
js 0x52251a
cmp edx, 0x1194
jge 0x52251a
xor eax, eax
nop dword [eax + eax]
cmp dword [eax*8 + 0x9d3c70], edx
lea ecx, [eax*8 + 0x9d3c70]
je 0x521be8
inc eax
cmp eax, 5
jl 0x521bc0
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.00529f01
mov esp, ebp
pop ebp
ret
test ecx, ecx
je 0x52251a
push 0xc
lea eax, [esp + 0x2c]
mov dword [esp + 0x2c], 0x6f70cc1
push eax
push edx
mov byte [esp + 0x38], 0
mov dword [esp + 0x3c], 0
call fcn.005192f0
push dword [ebx]
call fcn.0048f120
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.00529f01
mov esp, ebp
pop ebp
ret
movzx esi, al
sub esi, 0x12
test esi, esi
js 0x52251a
cmp esi, 7
jge 0x52251a
imul eax, esi, 0x744
mov dword [esp + 0x24], eax
cmp dword [eax + 0x5d9c08], 3
jne 0x52251a
mov edx, dword [ebx]
lea eax, [eax + 0x5d9c34]
test edx, edx
js 0x52251a
cmp edx, 0x1194
jge 0x52251a
xor ecx, ecx
cmp dword [eax], edx
je 0x521c96
inc ecx
add eax, 0x14
cmp ecx, 0x46
jl 0x521c77
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.00529f01
mov esp, ebp
pop ebp
ret
test eax, eax
je 0x52251a
mov ecx, dword [esp + 0x24]
push edx
lea eax, [ecx + 0x5d9c04]
mov ecx, 0x5d9c00
push eax
call fcn.00432ea0
push ecx
mov ecx, dword [esp + 0x28]
push dword [ebx]
lea eax, [ecx + 0x5d9c04]
push eax
call fcn.00434010
push dword [ebx]
mov ebx, dword [esp + 0x28]
lea eax, [ebx + 0x5d9c04]
push eax
call fcn.00432df0
cmp word [edi + 0x78], 1
jne 0x52251a
mov edx, dword [edi]
test edx, edx
js 0x52251a
cmp edx, 0x1194
jge 0x52251a
xor ecx, ecx
lea eax, [ebx + 0x5d9c34]
cmp dword [eax], edx
je 0x521d21
inc ecx
add eax, 0x14
cmp ecx, 0x46
jl 0x521d02
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.00529f01
mov esp, ebp
pop ebp
ret
test eax, eax
je 0x52251a
inc dword [eax + 4]
inc dword [eax + 8]
lea eax, [esi + 1]
push eax
push 0x40
push edi
call fcn.004f1ae0
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.00529f01
mov esp, ebp
pop ebp
ret
push ecx
push ebx
call fcn.00410200
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.00529f01
mov esp, ebp
pop ebp
ret
mov edx, edi
mov ecx, ebx
call fcn.005253a0
test eax, eax
jne 0x52251a
cmp dword [0x64b364], 3
jne 0x521d9f
movzx eax, byte [esp + 0x23]
cmp dword [0x64b3a8], eax
jne 0x521d9f
push dword [ebx]
call fcn.00480090
test al, al
je 0x521d9f
push edi
push ebx
call fcn.00480360
cmp dword [0x64acec], 3
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
jne 0x521dfe
movzx eax, byte [ebx + 0x149]
cmp dword [0x64ad2c], eax
jne 0x521dfe
mov esi, dword [ebx]
push esi
call fcn.0047e4c0
test al, al
je 0x521df8
cmp dword [0xbdcd4c], 0
je 0x521df8
test esi, esi
js 0x521df8
cmp esi, 0x1194
jge 0x521df8
xor ecx, ecx
mov eax, 0x64aea0
cmp dword [eax], esi
je 0x521efc
add eax, 0xc
inc ecx
cmp eax, 0x64b350
jl 0x521de5
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
movzx eax, word [ebx + 0x78]
mov ecx, eax
cmp eax, 1
jne 0x521e56
cmp word [edi + 0x78], ax
jne 0x521e56
inc dword [edi + 0x9f4]
mov eax, dword [ebx]
inc dword [ebx + 0x9f8]
push eax
push eax
call fcn.004606d0
mov eax, dword [edi]
push eax
push eax
call fcn.004606d0
lea eax, [ebx + 0x86]
push eax
lea eax, [ebx + 0x7b]
push eax
lea eax, [edi + 0x86]
push eax
lea eax, [edi + 0x7b]
push eax
push str.__s___s__Kill___s___s_
push 0
call fcn.005262e0
movzx ecx, word [ebx + 0x78]
add esp, 0x18
mov eax, dword [0xbdc1b4]
test eax, eax
je 0x522095
cmp cx, 1
jne 0x522095
cmp word [edi + 0x78], cx
jne 0x522095
cmp eax, 2
jne 0x522027
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], 0
push eax
push 0x56a5c8
push 0xbdc1bc
call fcn.00526130
add esp, 0xc
mov dword [esp + 0x10], 0x203
lea eax, [esp + 0x10]
mov ecx, 0xa9b83c
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.00405650
mov eax, dword [esp + 0x30]
mov ecx, dword [0xa9b83c]
cmp byte [eax + 0xd], 0
jne 0x521ed4
cmp dword [eax + 0x10], 0x203
jle 0x521ed6
mov eax, ecx
cmp eax, ecx
jne 0x521fef
push 0x203
push str.Could_not_find_message__d_
push 0xa9b7bc
call esi
add esp, 0xc
mov ecx, 0xa9b7bc
jmp 0x521ff2
lea eax, [ecx + ecx*2]
lea eax, [eax*4 + 0x64aea0]
test eax, eax
je 0x521df8
mov edx, dword [edi]
test edx, edx
js 0x521df8
cmp edx, 0x1194
jge 0x521df8
xor ecx, ecx
mov eax, 0x64aea0
nop dword [eax + eax]
cmp dword [eax], edx
je 0x521f44
add eax, 0xc
inc ecx
cmp eax, 0x64b350
jl 0x521f30
jmp 0x521df8
lea eax, [ecx + ecx*2]
lea eax, [eax*4 + 0x64aea0]
test eax, eax
je 0x521df8
push dword [eax + 4]
call fcn.0047e580
test eax, eax
je 0x521df8
inc dword [eax + 8]
mov ecx, 0xa9b83c
mov eax, dword [eax + 8]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x20], 0x36a
push eax
call fcn.00405650
mov eax, dword [esp + 0x30]
mov ecx, dword [0xa9b83c]
cmp byte [eax + 0xd], 0
jne 0x521fa5
cmp dword [eax + 0x10], 0x36a
jle 0x521fa7
mov eax, ecx
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
cmp eax, ecx
jne 0x521fcc
push 0x36a
push str.Could_not_find_message__d_
push 0xa9b7bc
call esi
add esp, 0xc
mov ecx, 0xa9b7bc
jmp 0x521fcf
lea ecx, [eax + 0x18]
lea eax, [edi + 0x294]
push eax
push dword [esp + 0x14]
push ecx
push 0
push 0x64ace8
call fcn.0047e6f0
add esp, 0x14
jmp 0x521dfe
lea ecx, [eax + 0x18]
lea eax, [ebx + 0x86]
push eax
lea eax, [edi + 0x86]
push eax
movzx eax, word [0xbdc1d0]
push ecx
push 0
push dword [esp + 0x2c]
push eax
push 0
push 0
push 0xd4
push 0xb90558
call fcn.004cdd70
add esp, 0x28
jmp 0x522095
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0x203
push eax
lea eax, [esp + 0x2c]
mov ecx, 0xa9b83c
push eax
call fcn.00405650
mov eax, dword [esp + 0x30]
mov ecx, dword [0xa9b83c]
cmp byte [eax + 0xd], 0
jne 0x52205c
cmp dword [eax + 0x10], 0x203
jle 0x52205e
mov eax, ecx
cmp eax, ecx
jne 0x52207d
push 0x203
push str.Could_not_find_message__d_
push 0xa9b7bc
call esi
add esp, 0xc
mov edx, 0xa9b7bc
jmp 0x522080
lea edx, [eax + 0x18]
lea eax, [ebx + 0x86]
push eax
lea ecx, [edi + 0x86]
call fcn.00526820
add esp, 4
mov eax, dword [0xbdc1b8]
test eax, eax
je 0x5221dc
cmp word [ebx + 0x78], 1
jne 0x5221dc
cmp word [edi + 0x78], 2
jne 0x5221dc
cmp eax, 2
jne 0x52216e
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], 0
push eax
push 0x56a5c8
push 0xbdc1c6
call fcn.00526130
add esp, 0xc
mov dword [esp + 0x10], 0x204
lea eax, [esp + 0x10]
mov ecx, 0xa9b83c
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.00405650
mov eax, dword [esp + 0x30]
mov ecx, dword [0xa9b83c]
cmp byte [eax + 0xd], 0
jne 0x522115
cmp dword [eax + 0x10], 0x204
jle 0x522117
mov eax, ecx
cmp eax, ecx
jne 0x522136
push 0x204
push str.Could_not_find_message__d_
push 0xa9b7bc
call esi
add esp, 0xc
mov ecx, 0xa9b7bc
jmp 0x522139
lea ecx, [eax + 0x18]
lea eax, [ebx + 0x86]
push eax
lea eax, [edi + 0x86]
push eax
movzx eax, word [0xbdc1d0]
push ecx
push 0
push dword [esp + 0x2c]
push eax
push 0
push 0
push 0xd4
push 0xb90558
call fcn.004cdd70
add esp, 0x28
jmp 0x5221dc
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0x204
push eax
lea eax, [esp + 0x2c]
mov ecx, 0xa9b83c
push eax
call fcn.00405650
mov eax, dword [esp + 0x30]
mov ecx, dword [0xa9b83c]
cmp byte [eax + 0xd], 0
jne 0x5221a3
cmp dword [eax + 0x10], 0x204
jle 0x5221a5
mov eax, ecx
cmp eax, ecx
jne 0x5221c4
push 0x204
push str.Could_not_find_message__d_
push 0xa9b7bc
call esi
add esp, 0xc
mov edx, 0xa9b7bc
jmp 0x5221c7
lea edx, [eax + 0x18]
lea eax, [ebx + 0x86]
push eax
lea ecx, [edi + 0x86]
call fcn.00526820
add esp, 4
cmp dword [0xbdcc7c], 1
jne 0x522445
mov eax, dword [ebx + 0x644]
cmp dword [eax*4 + 0xbdcc9c], 1
jne 0x522445
call fcn.00530cbe
cdq
mov ecx, 0x64
idiv ecx
cmp dword [0xbdcc80], edx
jl 0x522445
cmp byte [ebx + 0x13d], 6
jl 0x522445
movzx esi, byte [ebx + 0x149]
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x14], esi
push eax
mov ecx, 0x9f436c
call fcn.00405650
mov eax, dword [esp + 0x30]
mov ecx, dword [0x9f436c]
cmp byte [eax + 0xd], 0
jne 0x522257
cmp esi, dword [eax + 0x10]
jge 0x522259
mov eax, ecx
cmp eax, ecx
je 0x522445
mov eax, dword [eax + 0x40]
cmp eax, 0xffffffff
je 0x522445
cmp eax, 1
jne 0x522445
mov esi, 0x18
nop dword [eax + eax]
dec esi
call fcn.00530cbe
cdq
mov ecx, 0xc
idiv ecx
mov eax, dword [ebx + 0x390]
imul ecx, edx, 0x10c
mov dword [esp + 0x10], ecx
movzx eax, word [ecx + eax + 4]
mov ecx, eax
test ax, ax
js 0x5222e0
mov eax, 0x2000
cmp cx, ax
jge 0x5222e0
mov al, byte [ebx + 0x144]
push dword [ebx]
mov byte [esp + 0x1b], al
mov al, byte [ebx + 0x146]
mov byte [esp + 0x1c], al
lea eax, [esp + 0x18]
push eax
mov byte [esp + 0x21], dl
call fcn.004a1530
cmp al, 1
je 0x52237f
test esi, esi
jne 0x522280
mov esi, 0x4c
mov dword [esp + 0x1c], 0x1a14
dec esi
call fcn.00530cbe
cdq
mov ecx, 0x4c
idiv ecx
add edx, 0xc
imul ecx, edx, 0x10c
mov dword [esp + 0x14], ecx
add ecx, dword [ebx + 0x390]
movzx eax, word [ecx + 4]
mov edi, eax
mov dword [esp + 0x10], edi
mov edi, dword [esp + 0x24]
test ax, ax
js 0x522372
mov edi, 0x2000
cmp ax, di
mov edi, dword [esp + 0x24]
jge 0x522372
cmp ax, word [esp + 0x1c]
jl 0x52234a
movzx eax, word [ecx + 6]
cmp ax, 1
jl 0x52234a
cmp ax, 2
jle 0x522372
mov al, byte [ebx + 0x144]
push dword [ebx]
mov byte [esp + 0x2f], al
mov al, byte [ebx + 0x146]
mov byte [esp + 0x30], al
lea eax, [esp + 0x2c]
push eax
mov byte [esp + 0x35], dl
call fcn.004a1530
cmp al, 1
je 0x5223de
test esi, esi
jne 0x5222f1
jmp 0x522445
mov ecx, dword [esp + 0x10]
mov eax, dword [ebx + 0x390]
movsx esi, word [eax + ecx + 4]
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x14], esi
push eax
mov ecx, 0x9ed0c4
call fcn.00405650
mov eax, dword [esp + 0x30]
mov ecx, dword [0x9ed0c4]
cmp byte [eax + 0xd], 0
jne 0x5223bb
cmp esi, dword [eax + 0x10]
jge 0x5223bd
mov eax, ecx
cmp eax, ecx
jne 0x5223c8
mov eax, str.No_Name
jmp 0x5223cb
add eax, 0x34
push eax
lea eax, [ebx + 0x86]
push eax
lea eax, [ebx + 0x7b]
push eax
push str.__s___s__PK_Drop__ItemName:__s
jmp 0x52243b
mov ecx, dword [esp + 0x14]
mov eax, dword [ebx + 0x390]
movsx esi, word [eax + ecx + 4]
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x18], esi
push eax
mov ecx, 0x9ed0c4
call fcn.00405650
mov eax, dword [esp + 0x30]
mov ecx, dword [0x9ed0c4]
cmp byte [eax + 0xd], 0
jne 0x52241a
cmp esi, dword [eax + 0x10]
jge 0x52241c
mov eax, ecx
cmp eax, ecx
jne 0x522427
mov eax, str.No_Name
jmp 0x52242a
add eax, 0x34
push eax
lea eax, [ebx + 0x86]
push eax
lea eax, [ebx + 0x7b]
push eax
push str.__s___s__Pk_Drop__ItemName:__s
push 5
call fcn.005262e0
add esp, 0x14
cmp word [ebx + 0x78], 1
jne 0x52249f
cmp word [edi + 0x78], 1
jne 0x52249f
mov eax, dword [ebx + 0x3f4]
test eax, eax
js 0x52249f
cmp eax, 0x1194
jge 0x52249f
mov ecx, dword [edi + 0x3f4]
test ecx, ecx
js 0x52249f
cmp ecx, 0x1194
jge 0x52249f
mov edx, dword [edi]
cmp eax, edx
jne 0x52249f
cmp ecx, dword [ebx]
jne 0x52249f
inc byte [edi + 0x3f8]
push edx
push dword [ebx]
call fcn.004766a0
push dword [ebx]
call fcn.00474880
test eax, eax
je 0x52249f
push eax
call fcn.00476740
push edi
push ebx
call fcn.00484fd0
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.00529f01
mov esp, ebp
pop ebp
ret
push ebx
call fcn.0047c5f0
test eax, eax
js 0x52251a
cmp eax, 7
jge 0x52251a
imul eax, eax, 0x730
cmp dword [eax + 0x640240], 3
jne 0x52251a
mov edx, dword [ebx]
lea esi, [eax + 0x64023c]
test edx, edx
js 0x52251a
cmp edx, 0x1194
jge 0x52251a
xor ecx, ecx
lea eax, [esi + 0x28]
nop
cmp dword [eax], edx
je 0x52250f
inc ecx
add eax, 0x14
cmp ecx, 0x32
jl 0x5224f0
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.00529f01
mov esp, ebp
pop ebp
ret
test eax, eax
je 0x52251a
push edx
push esi
call fcn.004687a0
mov ecx, dword [esp + 0x34]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00529f01
mov esp, ebp
pop ebp
ret