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

Disassembly:
push edi
push esi
push ebx
mov ebx, ecx
sub esp, 0x20
movsx edx, word [ecx + 0x3e]
mov eax, dword [esp + 0x30]
cmp dx, word [eax + 0x3e]
je 0x526880
mov dword [esp + 0x30], 0
mov eax, dword [ebx]
mov eax, dword [eax + 0x78]
add esp, 0x20
mov ecx, ebx
pop ebx
pop esi
pop edi
jmp eax
movzx ecx, word [ecx + 0x40]
cmp cx, word [eax + 0x40]
jne 0x526866
movsx esi, word [ebx + 0x3c]
cmp si, word [eax + 0x3c]
jne 0x526866
movzx eax, byte [eax + 0x3b]
cmp byte [ebx + 0x3b], al
jne 0x526866
movsx eax, cx
imul eax, dword [0x59ad30]
lea eax, [eax + edx]
imul eax, eax, 0xe
add eax, dword [0x5b39d0]
movzx eax, word [eax]
and ax, 0xf00
cmp ax, 0x400
je 0x5268d5
mov dword [esp + 0x30], 2
add esp, 0x20
mov ecx, ebx
pop ebx
pop esi
pop edi
jmp fcn.0052c430
test esi, esi
jle 0x5269d8
cmp esi, dword [0x5b504c]
jg 0x5269d8
sub esi, 1
imul esi, dword [0x5b5050]
mov eax, dword [0x5b5059]
mov ecx, 0x5b62e0
mov edi, dword [eax + esi]
movsx eax, byte [edi + 4]
mov dword [esp], eax
call fcn.00438280
mov ecx, ebx
mov esi, eax
movsx eax, word [eax + 0x4a]
sub esp, 4
mov dword [esp + 0x10], eax
movsx eax, word [esi + 0x48]
mov dword [esp + 8], 0x4c
mov dword [esp + 0xc], eax
movsx eax, word [ebx + 0x40]
mov dword [esp + 4], eax
movsx eax, word [ebx + 0x3e]
mov dword [esp], eax
call fcn.00523e20
sub esp, 0x14
test eax, eax
je 0x526986
cmp byte [ebx + 8], 0x4c
movsx edx, word [edi + 0x17]
movsx eax, word [edi + 0x15]
je 0x526995
mov dword [esp + 0x10], 1
mov ecx, ebx
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00520210
sub esp, 0x14
add esp, 0x20
pop ebx
pop esi
pop edi
ret 4
mov dword [esp + 0x30], 1
mov eax, dword [ebx]
jmp 0x526870
mov dword [esp + 0x1c], 1
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
movsx ecx, word [esi + 0x4a]
mov dword [esp + 0xc], ecx
movsx ecx, word [esi + 0x48]
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov ecx, ebx
mov dword [esp], eax
call fcn.00516ad0
sub esp, 0x20
jmp 0x52697d
movzx eax, byte [4]
ud2
push esi
push ebx
sub esp, 0x34
movsx edx, word [ecx + 0x3e]
mov eax, dword [esp + 0x40]
cmp dx, word [eax + 0x3e]
je 0x526a20
mov eax, dword [ecx]
mov dword [esp + 0x40], 0
mov eax, dword [eax + 0x78]
add esp, 0x34
pop ebx
pop esi
jmp eax
movsx ebx, word [ecx + 0x40]
cmp bx, word [eax + 0x40]
jne 0x526a03
movzx esi, word [eax + 0x3c]
cmp word [ecx + 0x3c], si
jne 0x526a03
movzx eax, byte [eax + 0x3b]
cmp byte [ecx + 0x3b], al
jne 0x526a03
mov eax, dword [0x59ad30]
imul eax, ebx
add eax, edx
imul eax, eax, 0xe
add eax, dword [0x5b39d0]
movzx eax, word [eax]
and ax, 0xf00
cmp ax, 0x300
je 0x526a6f
mov dword [esp + 0x40], 2
add esp, 0x34
pop ebx
pop esi
jmp fcn.0052c430
mov dword [esp + 0x10], 4
mov dword [esp + 0xc], 4
mov dword [esp + 8], 0x4c
mov dword [esp + 4], ebx
mov dword [esp], edx
mov dword [esp + 0x2c], ecx
call fcn.00523e20
sub esp, 0x14
test eax, eax
mov ecx, dword [esp + 0x2c]
je 0x526b0a
movsx eax, word [ecx + 0x3c]
test eax, eax
jle 0x526b5a
cmp eax, dword [0x5b522c]
jg 0x526b5a
sub eax, 1
imul eax, dword [0x5b5230]
mov edx, dword [0x5b5239]
mov eax, dword [edx + eax]
cmp byte [ecx + 8], 0x4c
movsx edx, word [eax + 0x15]
movsx eax, word [eax + 0x13]
je 0x526b19
mov dword [esp + 0x10], 1
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00520e30
sub esp, 0x14
add esp, 0x34
pop ebx
pop esi
ret 4
mov eax, dword [ecx]
mov dword [esp + 0x40], 1
jmp 0x526a0d
mov dword [esp + 0x1c], 1
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 2
mov dword [esp + 0xc], 4
mov dword [esp + 8], 4
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00516ad0
sub esp, 0x20
jmp 0x526b02
xor eax, eax
jmp 0x526acd
push ebx
sub esp, 0x38
movsx eax, word [ecx + 0x3e]
mov edx, dword [esp + 0x40]
cmp ax, word [edx + 0x3e]
je 0x526bb8
cmp ax, 0xffff
je 0x526b8f
cmp word [ecx + 0x40], 0xffff
jne 0x526ba8
mov eax, dword [ecx]
mov dword [esp + 0x40], 0
mov eax, dword [eax + 0x78]
add esp, 0x38
pop ebx
jmp eax
call fcn.0052fa80
add esp, 0x38
pop ebx
ret 4
movsx ebx, word [ecx + 0x40]
cmp bx, word [edx + 0x40]
jne 0x526b82
movzx edx, byte [edx + 0x3b]
cmp byte [ecx + 0x3b], dl
jne 0x526b82
mov edx, dword [0x59ad30]
imul edx, ebx
add edx, eax
imul edx, edx, 0xe
add edx, dword [0x5b39d0]
movzx edx, word [edx]
and dx, 0xf00
cmp dx, 0x500
je 0x526c00
mov dword [esp + 0x40], 2
add esp, 0x38
pop ebx
jmp fcn.0052c430
mov dword [esp + 0x10], 1
mov dword [esp + 0xc], 1
mov dword [esp + 8], 0x4c
mov dword [esp + 4], ebx
mov dword [esp], eax
mov dword [esp + 0x2c], ecx
call fcn.00523e20
sub esp, 0x14
test eax, eax
mov ecx, dword [esp + 0x2c]
je 0x526c6d
cmp byte [ecx + 8], 0x4c
movsx edx, word [ecx + 0x40]
movsx eax, word [ecx + 0x3e]
je 0x526c80
mov dword [esp + 0x10], 1
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.005218c0
sub esp, 0x14
jmp 0x526bad
mov eax, dword [ecx]
mov dword [esp + 0x40], 1
mov eax, dword [eax + 0x78]
add esp, 0x38
pop ebx
jmp eax
mov dword [esp + 0x1c], 1
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 5
mov dword [esp + 0xc], 1
mov dword [esp + 8], 1
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00516ad0
sub esp, 0x20
jmp 0x526bad
push ebp
push edi
push esi
push ebx
mov ebx, ecx
sub esp, 0x4c
mov esi, dword [esp + 0x60]
call fcn.004deae0
cmp byte [esi + 9], 8
ja case.0x526cec.76
movzx edx, byte [esi + 9]
jmp dword [edx*4 + 0x5aabdc]
mov ecx, ebx
call fcn.0052fa80
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret 4
cmp byte [ebx + 0x22], 8
je 0x526d20
cmp byte [esi + 0x22], 8
je 0x527178
cmp byte [ebx + 0x33], 2
jle case.0x526e17.15
mov ecx, ebx
call fcn.00526400
mov byte [ebx + 0x33], 0
jmp case.0x526cec.76
movzx eax, byte [ebx + 0x25]
cmp byte [esi + 0x25], al
je 0x527160
cmp byte [ebx + 0x33], 2
jle case.0x526e17.15
movsx eax, word [ebx + 0x54]
mov dword [esp + 0x10], 0
mov ecx, ebx
mov dword [esp + 0xc], 1
mov dword [esp + 4], eax
movsx eax, word [ebx + 0x52]
mov dword [esp + 8], 1
mov dword [esp], eax
call fcn.00526320
mov byte [ebx + 0x33], 0
sub esp, 0x14
jmp case.0x526cec.76
movzx ecx, byte [esi + 0x3b]
cmp cl, 9
je 0x526e60
movzx eax, byte [ebx + 0x25]
cmp byte [esi + 0x25], al
je 0x526f08
movzx ecx, word [esi + 0x1a]
movsx eax, word [ebx + 0x52]
movsx edx, word [ebx + 0x54]
sar cx, 5
cmp ax, cx
jne 0x526dc8
movzx ecx, word [esi + 0x1c]
sar cx, 5
cmp cx, dx
je 0x526fb0
mov dword [esp + 0x10], 0
mov ecx, ebx
mov dword [esp + 0xc], 1
mov dword [esp + 8], 1
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00526320
sub esp, 0x14
jmp case.0x526cec.76
movzx eax, byte [esi + 0x25]
cmp byte [ebx + 0x25], al
jne 0x526e20
cmp byte [esi + 0x3b], 0xf
ja case.0x526cec.76
movzx eax, byte [esi + 0x3b]
jmp dword [eax*4 + 0x5aac00]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 1
movsx eax, word [ebx + 0x54]
mov dword [esp + 8], 1
mov ecx, ebx
mov dword [esp + 4], eax
movsx eax, word [ebx + 0x52]
mov dword [esp], eax
call fcn.00526320
sub esp, 0x14
jmp case.0x526cec.76
movzx edx, word [esi + 0x1a]
movsx edi, word [esi + 0x45]
sar dx, 5
mov word [esp + 0x2c], di
movsx edx, dx
sub edx, edi
mov ebp, edx
neg ebp
cmovs ebp, edx
cmp ebp, eax
jg 0x526d95
movzx edx, word [esi + 0x1c]
movsx ebp, word [esi + 0x47]
sar dx, 5
mov word [esp + 0x2e], bp
movsx edx, dx
mov dword [esp + 0x28], ebp
sub edx, ebp
mov ebp, edx
neg ebp
cmovs ebp, edx
cmp ebp, eax
jg 0x526d95
mov eax, dword [esp + 0x28]
imul eax, dword [0x59ad30]
add eax, edi
imul eax, eax, 0xe
add eax, dword [0x5b39d0]
movsx eax, word [eax + 2]
imul eax, eax, 0x1c
add eax, dword [0x5b67e4]
cmp byte [eax - 0x14], 1
je 0x526d95
cmp byte [ebx + 0x42], 9
je 0x527232
cmp byte [ebx + 0x33], 2
jle case.0x526e17.15
mov dword [esp + 0x60], 0
add esp, 0x4c
mov ecx, ebx
pop ebx
pop esi
pop edi
pop ebp
jmp fcn.0052c430
mov eax, dword [ebx + 0x29]
cmp dword [esi + 0x29], eax
je 0x526f58
cmp byte [esi + 0x42], 0
je 0x5271d0
cmp word [ebx + 0x89], 0
je 0x526e20
cmp word [esi + 0x89], 0
jne 0x526e20
mov dword [esp], 0
mov ecx, ebx
call fcn.0052c430
mov ecx, ebx
sub esp, 4
call fcn.0050e280
jmp case.0x526cec.76
cmp word [ebx + 0x89], 0
je 0x526f6c
cmp word [esi + 0x89], 0
je 0x526f36
movzx eax, word [esi + 0x1a]
sar ax, 5
cmp word [ebx + 0x52], ax
je 0x5271fd
cmp byte [esi + 0x42], 0
jne 0x52720f
cmp byte [0x5b316a], 0
jne 0x5271d0
mov dword [esp + 0x60], esi
add esp, 0x4c
mov ecx, ebx
pop ebx
pop esi
pop edi
pop ebp
jmp fcn.0052f2e0
mov ecx, ebx
call fcn.0052f270
cmp byte [ebx + 0x3b], 1
jne case.0x526cec.76
movzx eax, byte [ebx + 0x25]
cmp byte [esi + 0x25], al
je case.0x526cec.76
movzx eax, word [ebx + 0x3c]
cmp word [esi + 6], ax
jne case.0x526cec.76
movsx eax, word [esi + 0x1c]
mov ecx, ebx
mov dword [esp + 0xc], eax
movsx eax, word [esi + 0x1a]
mov dword [esp + 8], eax
movsx eax, word [ebx + 0x1c]
mov dword [esp + 4], eax
movsx eax, word [ebx + 0x1a]
mov dword [esp], eax
call fcn.004de540
mov ecx, ebx
sub esp, 0x10
call fcn.004de440
test eax, eax
je 0x527281
movsx eax, word [ebx + 0x3c]
mov dword [esp + 0xc], 1
mov ecx, ebx
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], eax
call fcn.0051f7e0
sub esp, 0x10
mov byte [ebx + 0xb], 1
jmp case.0x526cec.76
movsx eax, word [ebx + 0x3c]
test ax, ax
je 0x5271e8
mov dword [esp], eax
mov ecx, 0x5b5300
call fcn.0050f960
sub esp, 4
test eax, eax
jne 0x5271e8
movsx eax, word [ebx + 0x3c]
test eax, eax
jle 0x52727a
cmp eax, dword [0x5b5310]
jg 0x52727a
sub eax, 1
imul eax, dword [0x5b5314]
mov edx, dword [0x5b531d]
mov eax, dword [edx + eax]
mov dword [esp + 4], eax
mov ecx, ebx
mov dword [esp], esi
call fcn.005267d0
sub esp, 8
jmp case.0x526cec.76
movsx eax, word [esi + 0x3c]
test ax, ax
je case.0x526e17.15
mov dword [esp], eax
mov ecx, 0x5b5220
call fcn.004fb910
sub esp, 4
test eax, eax
jne case.0x526e17.15
mov dword [esp + 0x60], esi
add esp, 0x4c
mov ecx, ebx
pop ebx
pop esi
pop edi
pop ebp
jmp 0x5269f0
movsx eax, word [esi + 0x3c]
test ax, ax
je case.0x526e17.15
test eax, eax
jle case.0x526e17.15
cmp eax, dword [0x5b504c]
jg case.0x526e17.15
sub eax, 1
imul eax, dword [0x5b5050]
mov edx, dword [0x5b5059]
mov eax, dword [edx + eax]
test eax, eax
je case.0x526e17.15
mov dword [esp + 0x60], esi
add esp, 0x4c
mov ecx, ebx
pop ebx
pop esi
pop edi
pop ebp
jmp 0x526850
cmp word [esi + 0x3c], 0
jne case.0x526e17.15
mov dword [esp + 0x60], esi
add esp, 0x4c
mov ecx, ebx
pop ebx
pop esi
pop edi
pop ebp
jmp 0x526b70
mov dword [esp + 0x60], esi
add esp, 0x4c
mov ecx, ebx
pop ebx
pop esi
pop edi
pop ebp
jmp 0x52ed50
movsx eax, word [ebx + 0x54]
mov dword [esp + 0x1c], 0
mov ecx, ebx
mov dword [esp + 0x18], 1
mov dword [esp + 4], eax
movsx eax, word [ebx + 0x52]
mov dword [esp + 0x14], 1
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 2
mov dword [esp + 8], 1
mov dword [esp], eax
call fcn.0052d7d0
sub esp, 0x20
jmp case.0x526cec.76
mov dword [esp + 0x60], esi
add esp, 0x4c
mov ecx, ebx
pop ebx
pop esi
pop edi
pop ebp
jmp 0x52e8d0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 2
jmp 0x526e30
movzx eax, word [esi + 0x1c]
sar ax, 5
cmp word [ebx + 0x54], ax
jne 0x526f7e
cmp cl, 0xb
je case.0x526e17.15
cmp byte [ebx + 0x33], 3
jle case.0x526e17.15
mov ecx, ebx
call fcn.0052f270
mov byte [ebx + 0x33], 0
jmp case.0x526cec.76
movzx eax, word [esp + 0x2c]
cmp ax, word [ebx + 0x45]
jne 0x526ee5
movzx eax, word [esp + 0x2e]
cmp ax, word [ebx + 0x47]
jne 0x526ee5
lea eax, [esp + 0x3c]
mov dword [esp], edi
mov ecx, ebx
mov dword [esp + 0xc], eax
lea eax, [esp + 0x38]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 4], eax
call fcn.005316e0
sub esp, 0x10
jmp case.0x526cec.76
xor eax, eax
jmp 0x5270a0
mov ecx, ebx
call fcn.0052faa0
jmp 0x52703d
push ebp
push edi
mov edi, 2
push esi
push ebx
sub esp, 0x5c
movzx eax, byte [ecx + 8]
mov dword [esp + 0x3c], ecx
mov ecx, 0x5ba360
mov byte [esp + 0x2f], al
mov eax, dword [esp + 0x70]
movzx eax, word [eax + 0x1a]
sar ax, 5
cwde
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x70]
movzx eax, word [eax + 0x1c]
mov dword [esp], 2
mov word [esp + 0x30], ax
sar ax, 5
cwde
mov dword [esp + 0x38], eax
call fcn.00499e90
mov ecx, 0x5ba360
sub esp, 4
cmp eax, 1
mov dword [esp], 2
sbb ebp, ebp
or ebp, 1
call fcn.00499e90
sub esp, 4
cmp eax, 1
sbb eax, eax
or eax, 1
mov dword [esp + 0x30], eax
jmp 0x52e9b4
mov eax, dword [esp + 0x34]
lea ebx, [eax + ebx*2]
mov eax, dword [esp + 0x38]
lea esi, [eax + esi*2]
test ebx, ebx
js 0x52e9a8
mov eax, dword [0x59ad30]
cmp eax, ebx
jle 0x52e9a8
test esi, esi
js 0x52e9a8
cmp dword [0x59ad2c], esi
jle 0x52e9a8
imul eax, esi
mov edx, dword [esp + 0x70]
movzx ecx, byte [edx + 8]
add eax, ebx
imul eax, eax, 0xe
add eax, dword [0x5b39d0]
cmp cl, 0x4c
je 0x52eab0
cmp cl, 0x53
je 0x52ea18
cmp cl, 0x41
je 0x52eac0
lea esi, [esi]
add edi, 1
cmp edi, 0x65
je 0x52ead0
lea eax, [esp + 0x4c]
mov dword [esp + 8], 0xa
mov ecx, 0x5ba360
mov dword [esp + 0x10], eax
lea eax, [esp + 0x48]
mov dword [esp + 0xc], eax
mov dword [esp + 4], 0xa
mov dword [esp], edi
call fcn.0049a650
sub esp, 0x14
mov ebx, dword [esp + 0x48]
mov esi, dword [esp + 0x30]
imul esi, dword [esp + 0x4c]
imul ebx, ebp
cmp byte [esp + 0x2f], 0x4c
mov dword [esp + 0x4c], esi
mov dword [esp + 0x48], ebx
jne 0x52e950
add ebx, dword [esp + 0x34]
add esi, dword [esp + 0x38]
jmp 0x52e95e
movzx ecx, word [eax]
and ecx, 2
test ecx, ecx
je 0x52e9a8
cmp word [eax + 4], 0
jne 0x52e9a8
movsx eax, si
mov ecx, dword [esp + 0x3c]
mov dword [esp + 4], eax
movsx eax, bx
mov dword [esp], eax
call fcn.0052e840
sub esp, 8
test eax, eax
jne 0x52e9a8
mov edx, dword [esp + 0x70]
mov eax, dword [edx]
mov ecx, edx
mov dword [esp + 4], esi
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 1
mov dword [esp + 0x14], 1
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 1
mov dword [esp + 8], 0
mov dword [esp], ebx
call dword [eax + 0x7c]
sub esp, 0x20
mov eax, dword [esp + 0x3c]
add byte [eax + 0x33], 1
mov byte [eax + 9], 4
mov byte [eax + 0xb], 1
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret 4
movzx ecx, word [eax]
and ecx, 1
jmp 0x52ea1e
cmp word [eax + 6], 0
je 0x52ea2d
jmp 0x52e9a8
mov ecx, dword [esp + 0x3c]
mov eax, dword [ecx]
mov dword [esp], 2
call dword [eax + 0x78]
sub esp, 4
jmp 0x52eaa3
push ebp
mov ebp, ecx
push edi
push esi
push ebx
sub esp, 0x3c
call fcn.004deae0
mov ecx, ebp
mov dword [esp + 0x18], eax
call fcn.004de440
test eax, eax
je 0x52eed8
mov eax, dword [esp + 0x50]
xor esi, esi
mov ebx, 0x14
mov edi, 1
mov word [0x5c980c], si
mov eax, dword [eax + 0x1e]
mov dword [esp + 4], 1
mov dword [esp], 0x28
mov dword [esp + 0x1c], eax
mov word [0x5c9804], bx
mov word [0x5c9802], di
call sub.msvcrt.dll_calloc
mov dword [0x5c9808], eax
mov esi, eax
mov eax, dword [esp + 0x50]
cmp byte [eax + 9], 4
jne 0x52eec0
mov dword [esp + 0x20], 0x14
mov ebx, eax
mov eax, dword [esp + 0x1c]
cmp word [eax + 0xe], 1
jg 0x52efe0
mov ecx, ebx
call fcn.004de440
test eax, eax
je 0x52efe0
movzx edx, byte [ebx + 0xd]
mov edi, dword [esp + 0x18]
movsx ecx, word [ebx + 0x12]
movsx eax, word [edx + edx + 0x5ab134]
movsx edx, word [edx + edx + 0x5ab124]
imul eax, edi
imul edx, edi
add eax, ecx
movsx ecx, word [ebx + 0x14]
sar eax, 5
add edx, ecx
mov dword [esp + 0x28], eax
mov edi, edx
sar edi, 5
mov dword [esp + 0x24], edi
imul edi, dword [0x59ad30]
mov esi, edi
add esi, eax
movsx eax, byte [ebp + 8]
imul esi, esi, 0xe
add esi, dword [0x5b39d0]
mov dword [esp], eax
mov ecx, esi
call fcn.00498de0
sub esp, 4
test ax, ax
je 0x52efe0
movzx eax, word [ebx + 0x12]
sar ax, 5
cmp word [ebx + 0x52], ax
je 0x52f1b0
cmp byte [ebp + 8], 0x41
je 0x52f1cc
movsx eax, word [esi + 4]
movsx edx, word [ebp + 6]
mov esi, dword [0x5c9808]
cmp edx, eax
je 0x52f060
movsx edi, word [0x5c980c]
mov word [esp + 0x2e], di
test edi, edi
jle 0x52ef60
movzx edx, word [ebx + 6]
mov eax, esi
lea ecx, [esi + edi*2]
jmp 0x52eebb
add eax, 2
cmp ecx, eax
je 0x52ef60
cmp word [eax], dx
jne 0x52eeb0
mov dword [esp], esi
call fcn.00565f80
mov dword [0x5c9808], 0
lea esi, [esi]
movzx eax, byte [ebp + 0x33]
mov byte [ebp + 9], 4
mov ecx, ebp
mov byte [ebp + 0xb], 1
lea ebx, [eax + 1]
mov byte [ebp + 0x33], bl
movsx ebx, bl
call fcn.004deae0
lea eax, [eax + eax*2]
cmp ebx, eax
jl 0x52ef54
movsx eax, word [ebp + 0x54]
imul eax, dword [0x59ad30]
movsx edx, word [ebp + 0x52]
add eax, edx
movzx edx, byte [ebp + 8]
imul eax, eax, 0xe
add eax, dword [0x5b39d0]
cmp dl, 0x4c
je 0x52f1d8
cmp dl, 0x53
je 0x52eff0
cmp dl, 0x41
je 0x52f1e8
cmp byte [ebp + 0x42], 0xe
je 0x52f009
mov eax, dword [ebp]
mov dword [esp], 1
mov ecx, ebp
call dword [eax + 0x78]
mov byte [ebp + 0x33], 0
sub esp, 4
add esp, 0x3c
pop ebx
pop esi
pop edi
pop ebp
ret 4
cmp dword [esp + 0x20], edi
jle 0x52f020
movzx eax, word [ebx + 6]
movzx edx, word [esp + 0x2e]
mov word [esi + edi*2], ax
mov eax, dword [esp + 0x24]
add edx, 1
imul eax, dword [0x59ad30]
add eax, dword [esp + 0x28]
mov word [0x5c980c], dx
imul eax, eax, 0xe
add eax, dword [0x5b39d0]
cmp byte [ebp + 8], 0x41
je 0x52f200
movsx eax, word [eax + 4]
test eax, eax
jle 0x52f265
cmp dword [0x5b5310], eax
jl 0x52f265
sub eax, 1
imul eax, dword [0x5b5314]
mov edx, dword [0x5b531d]
mov ebx, dword [edx + eax]
mov eax, dword [ebx + 0x1e]
mov dword [esp + 0x1c], eax
cmp byte [ebx + 9], 4
je 0x52edd0
nop
mov esi, dword [0x5c9808]
jmp 0x52eec0
movzx edx, word [eax]
and edx, 2
test edx, edx
je 0x52ef34
cmp word [eax + 4], 0
jne 0x52ef34
mov ecx, ebp
call fcn.00526400
mov byte [ebp + 0x33], 0
jmp 0x52ef54
movzx eax, word [0x5c9802]
mov dword [esp], esi
lea edx, [eax + 1]
movsx eax, word [0x5c9804]
mov word [0x5c9802], dx
movsx edx, dx
imul eax, edx
mov dword [esp + 0x20], eax
add eax, eax
mov dword [esp + 4], eax
call sub.msvcrt.dll_realloc
mov dword [0x5c9808], eax
jmp 0x52efd5
mov dword [esp], esi
call fcn.00565f80
movzx eax, word [ebp + 0x14]
movzx edx, word [ebp + 0x12]
mov dword [0x5c9808], 0
sar ax, 5
sar dx, 5
cmp byte [ebp + 8], 0x41
cwde
movsx edx, dx
je 0x52f248
imul eax, dword [0x59ad30]
add eax, edx
xor edx, edx
imul eax, eax, 0xe
add eax, dword [0x5b39d0]
mov word [eax + 4], dx
mov eax, dword [esp + 0x50]
mov dword [esp], ebp
mov ecx, ebp
mov dword [esp + 4], eax
call fcn.0052eaf0
movzx eax, word [ebp + 0x14]
movzx edx, word [ebp + 0x12]
sub esp, 8
sar ax, 5
sar dx, 5
cwde
imul eax, dword [0x59ad30]
movsx edx, dx
add eax, edx
imul eax, eax, 0xe
add eax, dword [0x5b39d0]
cmp byte [ebp + 8], 0x41
je 0x52f230
movzx edx, word [ebp + 6]
movzx ebx, word [eax + 4]
mov word [eax + 4], dx
mov eax, dword [esp + 0x18]
mov edx, dword [ebp]
mov dword [esp + 0xc], 1
mov ecx, ebp
neg eax
mov dword [esp + 8], eax
mov eax, dword [esp + 0x50]
movsx eax, word [eax + 0x14]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x50]
movsx eax, word [eax + 0x12]
mov dword [esp], eax
call dword [edx + 0xc]
mov byte [ebp + 9], 3
mov ecx, dword [0x59ad30]
sub esp, 0x10
movzx esi, word [ebp + 6]
mov edx, dword [0x5b39d0]
mov eax, dword [esp + 0x50]
mov edi, dword [esp + 0x50]
movzx eax, word [eax + 0x14]
movzx edi, word [edi + 0x12]
mov word [esp + 0x18], ax
sar ax, 5
sar di, 5
cwde
movsx edi, di
imul eax, ecx
add eax, edi
imul eax, eax, 0xe
cmp byte [ebp + 8], 0x41
je 0x52f220
mov word [edx + eax + 4], si
movzx eax, word [ebp + 0x14]
sar ax, 5
cwde
imul eax, ecx
movzx ecx, word [ebp + 0x12]
sar cx, 5
movsx ecx, cx
add eax, ecx
imul eax, eax, 0xe
add edx, eax
cmp byte [ebp + 8], 0x41
je 0x52f210
mov word [edx + 4], bx
mov byte [ebp + 0x35], 1
add esp, 0x3c
pop ebx
pop esi
pop edi
pop ebp
ret 4
movzx eax, word [ebx + 0x14]
sar ax, 5
cmp word [ebx + 0x54], ax
je 0x52efe0
cmp byte [ebp + 8], 0x41
jne 0x52ee72
movsx eax, word [esi + 6]
jmp 0x52ee76
movzx edx, word [eax]
and edx, 1
jmp 0x52eff6
cmp word [eax + 6], 0
je 0x52f009
jmp 0x52ef34
movsx eax, word [eax + 6]
jmp 0x52efa7
mov word [edx + 6], bx
jmp 0x52f1a1
mov word [edx + eax + 6], si
jmp 0x52f179
movzx edx, word [ebp + 6]
movzx ebx, word [eax + 6]
mov word [eax + 6], dx
jmp 0x52f0f9
imul eax, dword [0x59ad30]
xor ecx, ecx
add eax, edx
imul eax, eax, 0xe
add eax, dword [0x5b39d0]
mov word [eax + 6], cx
jmp 0x52f0a8
mov eax, dword [0x1e]
ud2