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

Disassembly:
sub esp, 0xd80
mov eax, dword [esp + 0xd84]
mov dword [esp + 0x14], ecx
push ebx
push ebp
push esi
push edi
test eax, eax
je 0x530796
cmp dword [esp + 0xd98], 0xc0
jb 0x530796
mov ecx, 0x30
lea edi, [esp + 0x90]
mov esi, eax
rep movsd dword es:[edi], dword [esi]
cmp dword [esp + 0x90], 0x4d504d49
jne 0x530796
mov dx, word [esp + 0xb2]
mov ecx, 0xf0
cmp dx, cx
jae 0x530796
mov ax, word [esp + 0xb4]
test ax, ax
je 0x530796
cmp ax, cx
jae 0x530796
mov cx, word [esp + 0xb0]
test cx, cx
je 0x530796
movzx esi, word [esp + 0xb6]
movzx ebx, ax
movzx eax, dx
mov dword [esp + 0x1c], eax
add eax, ebx
add eax, esi
movzx ebp, cx
mov dword [esp + 0x30], esi
mov dword [esp + 0x14], ebx
lea eax, [eax*4 + 0xc0]
add eax, ebp
cmp eax, dword [esp + 0xd98]
ja 0x530796
mov esi, dword [esp + 0x24]
mov ecx, dword [esp + 0xbc]
mov eax, dword [esi + 0xe90c]
mov dword [esi + 0xe920], 0x20
test cl, 8
je 0x52f960
or eax, 0x10
mov dword [esi + 0xe90c], eax
test cl, 0x10
je 0x52f96e
or eax, 4
mov dword [esi + 0xe90c], eax
test cl, 0x20
je 0x52f97c
or eax, 8
mov dword [esi + 0xe90c], eax
test cl, cl
jns 0x52f989
or eax, 1
mov dword [esi + 0xe90c], eax
test ecx, 0x1000
je 0x52f99c
or eax, 0x8000
mov dword [esi + 0xe90c], eax
movups xmm0, xmmword [esp + 0x94]
mov ax, word [esp + 0xac]
movups xmmword [esi + 0xe99c], xmm0
movq xmm0, qword [esp + 0xa4]
movq qword [esi + 0xe9ac], xmm0
mov word [esi + 0xe9b4], ax
mov al, byte [esp + 0xc0]
mov byte [esi + 0xe9b6], 0
test al, al
je 0x52f9fb
movzx eax, al
add eax, eax
mov dword [esi + 0xe908], eax
je 0x52f9f1
cmp eax, 0x100
jbe 0x52f9fb
mov dword [esi + 0xe908], 0x100
mov al, byte [esp + 0xc2]
test al, al
je 0x52fa0f
movzx eax, al
mov dword [esi + 0xe900], eax
mov al, byte [esp + 0xc3]
test al, al
je 0x52fa23
movzx eax, al
mov dword [esi + 0xe904], eax
movzx eax, byte [esp + 0xc1]
lea ecx, [esi + 0xc1c8]
and eax, 0x7f
xor edx, edx
mov dword [esi + 0xe964], eax
nop dword [eax]
mov bl, byte [esp + edx + 0xd0]
cmp bl, 0xff
je 0x52fa86
movzx eax, byte [esp + edx + 0x110]
mov dword [ecx - 4], eax
mov dword [ecx - 8], 0x80
test bl, bl
jns 0x52fa68
or dword [ecx], 0x100
movzx eax, bl
and eax, 0x7f
cmp eax, 0x40
ja 0x52fa7b
shl eax, 2
mov dword [ecx - 8], eax
jmp 0x52fa86
cmp eax, 0x64
jne 0x52fa86
or dword [ecx], 0x800
inc edx
add ecx, 0x24
cmp edx, 0x40
jl 0x52fa40
cmp dword [esi + 0xe910], 4
jae 0x52faa2
mov dword [esi + 0xe910], 4
test byte [esp + 0xbe], 1
je 0x52fb08
mov ax, word [esp + 0xc6]
test ax, ax
je 0x52fb08
movzx edi, ax
mov eax, dword [esp + 0xd98]
cmp edi, eax
ja 0x52fb08
mov ebx, dword [esp + 0xc8]
sub eax, edi
cmp ebx, eax
jae 0x52fb08
lea eax, [edi + 1]
push eax
call fcn.0052b330
add esp, 4
mov dword [esi + 0xe994], eax
test eax, eax
je 0x52fb08
mov ecx, dword [esp + 0xd94]
push edi
add ecx, ebx
push ecx
push eax
call fcn.004aa840
mov eax, dword [esi + 0xe994]
add esp, 0xc
mov byte [edi + eax], 0
mov ecx, 0x100
mov eax, ebp
cmp ebp, ecx
cmova eax, ecx
push eax
mov eax, dword [esp + 0xd98]
add eax, 0xc0
push eax
lea eax, [esi + 0xd060]
push eax
call fcn.004aa840
push 0x3c0
lea eax, [esp + 0x620]
push 0
push eax
call fcn.00490d60
mov ebx, dword [esp + 0x34]
mov eax, 0xf0
cmp ebx, 0xf0
mov edi, ebx
cmova edi, eax
lea eax, [edi*4]
push eax
mov eax, dword [esp + 0xdb0]
add eax, 0xc0
add eax, ebp
push eax
lea eax, [esp + 0x630]
push eax
call fcn.004aa840
add esp, 0x24
xor ecx, ecx
test edi, edi
je 0x52fb88
inc ecx
cmp ecx, edi
jb 0x52fb83
push 0x3c0
lea eax, [esp + 0x9d4]
push 0
lea ebx, [ebx*4 + 0xc0]
push eax
add ebx, ebp
call fcn.00490d60
mov ebp, dword [esp + 0x20]
mov eax, 0xf0
cmp ebp, 0xf0
mov edi, ebp
cmova edi, eax
lea eax, [edi*4]
push eax
mov eax, dword [esp + 0xda4]
add eax, ebx
push eax
lea eax, [esp + 0x9e4]
push eax
call fcn.004aa840
add esp, 0x18
xor ecx, ecx
test edi, edi
je 0x52fbe6
inc ecx
cmp ecx, edi
jb 0x52fbe1
push 0x3c0
lea eax, [esp + 0x254]
push 0
push eax
lea ebx, [ebx + ebp*4]
call fcn.00490d60
movzx eax, word [esp + 0xc2]
mov ebp, dword [esp + 0xda0]
mov edi, eax
cmp eax, 0xf0
mov eax, 0xf0
cmova edi, eax
lea eax, [edi*4]
push eax
lea eax, [ebx + ebp]
push eax
lea eax, [esp + 0x264]
push eax
call fcn.004aa840
add esp, 0x18
xor ecx, ecx
test edi, edi
je 0x52fc45
nop dword [eax]
inc ecx
cmp ecx, edi
jb 0x52fc40
movzx eax, word [esp + 0xb6]
mov edx, dword [esp + 0xd98]
lea edi, [ebx + eax*4]
lea ecx, [edi + 2]
cmp ecx, edx
jae 0x52fc6c
movzx eax, word [edi + ebp]
mov edi, ecx
lea eax, [edi + eax*8]
cmp eax, edx
cmovb edi, eax
test byte [esi + 0xe90c], 1
je 0x52fca0
lea ebx, [edi + 0x1320]
cmp ebx, edx
jae 0x52fca0
push 0x1320
lea eax, [edi + ebp]
push eax
lea eax, [esi + 0xd160]
push eax
call fcn.004aa840
mov edx, dword [esp + 0xda4]
add esp, 0xc
mov edi, ebx
lea eax, [edi + 8]
cmp eax, edx
jae 0x52fd0b
cmp dword [edi + ebp], 0x4d414e50
lea ebx, [edi + ebp]
jne 0x52fd0b
mov ebx, dword [ebx + 4]
mov edi, eax
lea ebp, [ebx + edi]
cmp ebp, edx
ja 0x52fd04
lea eax, [ebx - 0x20]
cmp eax, 0x1de0
ja 0x52fd04
push ebx
call fcn.0052b330
add esp, 4
mov dword [esi + 0xe998], eax
test eax, eax
je 0x52fcfb
mov ecx, ebx
shr ecx, 5
mov dword [esi + 0xe990], ecx
mov ecx, dword [esp + 0xd94]
push ebx
add ecx, edi
push ecx
push eax
call fcn.004aa840
add esp, 0xc
mov edx, dword [esp + 0xd98]
mov edi, ebp
mov ebp, dword [esp + 0xd94]
lea eax, [edi + 8]
mov dword [esi + 0xe910], 4
cmp eax, edx
jae 0x52fd96
cmp dword [edi + ebp], 0x4d414e43
lea ecx, [edi + ebp]
jne 0x52fd96
mov ecx, dword [ecx + 4]
mov edi, eax
lea ebp, [ecx + edi]
cmp ebp, edx
ja 0x52fd96
cmp ecx, 0x500
ja 0x52fd96
mov eax, 0xcccccccd
mul ecx
mov ebx, edx
shr ebx, 4
cmp ebx, 4
jbe 0x52fd55
mov dword [esi + 0xe910], ebx
jmp 0x52fd59
test ebx, ebx
je 0x52fd8d
mov edx, dword [esp + 0xd94]
lea ecx, [esi + 0xc1e3]
add edx, edi
nop dword [eax + eax]
lea edx, [edx + 0x14]
lea ecx, [ecx + 0x24]
movups xmm0, xmmword [edx - 0x14]
movups xmmword [ecx - 0x37], xmm0
mov eax, dword [edx - 4]
mov dword [ecx - 0x27], eax
mov byte [ecx - 0x24], 0
sub ebx, 1
jne 0x52fd70
mov edx, dword [esp + 0xd98]
mov edi, ebp
mov ebp, dword [esp + 0xd94]
lea eax, [edi + 8]
cmp eax, edx
jae 0x52fdb2
sub edx, edi
lea eax, [edi + ebp]
push edx
push eax
mov ecx, esi
call fcn.00530cc0
movzx eax, word [esp + 0xb6]
xor ebx, ebx
mov dword [esp + 0x18], ebx
cmp eax, 0xf0
jbe 0x52fdd1
mov dword [esp + 0x30], 0xf0
jmp 0x52fde0
test eax, eax
je 0x52ff28
nop dword [eax]
push 0x40
lea eax, [esp + 0x214]
push 0
push eax
call fcn.00490d60
mov ecx, dword [esp + ebx*4 + 0x25c]
add esp, 0xc
test ecx, ecx
je 0x52ff12
mov eax, dword [esp + 0xd98]
add eax, 0xfffffffc
cmp ecx, eax
jae 0x52ff12
movzx edi, word [ecx + ebp + 2]
lea edx, [ecx + ebp]
mov dword [esp + 0x34], edi
lea eax, [edi - 4]
cmp eax, 0xfc
ja 0x52ff12
movzx ebp, word [edx]
lea eax, [ebp + 8]
cmp eax, dword [esp + 0xd98]
ja 0x52ff12
mov eax, dword [esp + 0xd98]
sub eax, ebp
sub eax, 8
cmp ecx, eax
ja 0x52ff12
lea ebx, [edx + 8]
xor ecx, ecx
xor edx, edx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x28], edx
test edi, edi
je 0x52ff0e
nop dword [eax]
cmp ecx, ebp
jae 0x52ff0e
mov al, byte [ebx + ecx]
inc ecx
test al, al
jne 0x52fe87
inc edx
mov dword [esp + 0x28], edx
jmp 0x52ff06
movzx edx, al
and edx, 0x7f
je 0x52fe93
dec edx
and edx, 0x3f
test al, al
jns 0x52feac
cmp ecx, ebp
jae 0x52ff0e
mov al, byte [ebx + ecx]
lea edi, [esp + 0x210]
add edi, edx
inc ecx
mov byte [edi], al
jmp 0x52feb5
lea edi, [esp + 0x210]
add edi, edx
mov bl, byte [edi]
test bl, 0xf
je 0x52fed2
cmp edx, dword [esi + 0xe910]
jb 0x52fed2
cmp edx, 0x40
jae 0x52fed2
lea eax, [edx + 1]
mov dword [esi + 0xe910], eax
test bl, 1
lea eax, [ecx + 1]
cmove eax, ecx
test bl, 2
lea ecx, [eax + 1]
cmove ecx, eax
test bl, 4
lea eax, [ecx + 1]
cmove eax, ecx
test bl, 8
lea ecx, [eax + 2]
cmove ecx, eax
cmp ecx, ebp
jae 0x52ff0e
mov edx, dword [esp + 0x28]
mov ebx, dword [esp + 0x38]
mov edi, dword [esp + 0x34]
cmp edx, edi
jb 0x52fe70
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0xd94]
inc ebx
mov dword [esp + 0x18], ebx
cmp ebx, dword [esp + 0x30]
jb 0x52fde0
xor eax, eax
mov dword [esi + 0xe928], 0
test byte [esp + 0xbc], 4
je 0x52ff48
mov eax, dword [esp + 0x1c]
mov dword [esi + 0xe928], eax
xor ebx, ebx
cmp eax, 0xf0
jb 0x52ff5d
mov dword [esi + 0xe928], 0xef
jmp 0x52ff61
test eax, eax
je 0x52ffdd
lea eax, [esi + 0xbe04]
mov dword [esp + 0x1c], eax
nop dword [eax + eax]
mov ebp, dword [esp + ebx*4 + 0x610]
test ebp, ebp
je 0x52ffcf
mov eax, dword [esp + 0xd98]
add eax, 0xfffffdd6
cmp ebp, eax
jae 0x52ffcf
push 0x278
call fcn.0050a56f
mov edi, eax
add esp, 4
test edi, edi
je 0x52ffcf
mov eax, dword [esp + 0x1c]
push 0x278
push 0
push edi
mov dword [eax], edi
call fcn.00490d60
movzx eax, word [esp + 0xc6]
add esp, 0xc
mov ecx, esi
push eax
mov eax, dword [esp + 0xd98]
push edi
add eax, ebp
push eax
call fcn.005307b0
add dword [esp + 0x1c], 4
inc ebx
cmp ebx, dword [esi + 0xe928]
jb 0x52ff70
mov ebx, dword [esp + 0x14]
xor edx, edx
mov dword [esi + 0xe924], ebx
mov edi, 0x40
mov dword [esp + 0x18], edx
cmp ebx, 0xf0
jb 0x530006
mov dword [esi + 0xe924], 0xef
jmp 0x530012
mov dword [esp + 0x14], ebx
test ebx, ebx
je 0x530312
lea eax, [esi + 0xe9bc]
mov ebp, 2
mov dword [esp + 0x1c], eax
lea edi, [esi + 0x8244]
nop word [eax + eax]
mov ecx, dword [esp + edx*4 + 0x9d0]
test ecx, ecx
je 0x5302f2
mov eax, dword [esp + 0xd98]
add eax, 0xffffffb0
cmp ecx, eax
ja 0x5302f2
mov eax, dword [esp + 0xd94]
movups xmm0, xmmword [ecx + eax + 0x10]
movups xmm1, xmmword [ecx + eax]
movups xmmword [esp + 0x50], xmm0
movups xmm0, xmmword [ecx + eax + 0x20]
movups xmmword [esp + 0x40], xmm1
movups xmmword [esp + 0x60], xmm0
movups xmm0, xmmword [ecx + eax + 0x30]
movups xmmword [esp + 0x70], xmm0
movups xmm0, xmmword [ecx + eax + 0x40]
movd eax, xmm1
movups xmmword [esp + 0x80], xmm0
cmp eax, 0x53504d49
jne 0x5302d0
movq xmm0, qword [esp + 0x44]
mov edx, 0x20ab
mov eax, dword [esp + 0x4c]
mov ebx, dword [esp + 0x50]
movq qword [edi + 0x26], xmm0
mov dword [edi + 0x2e], eax
xor eax, eax
mov word [edi + 0x1e], ax
mov dword [edi - 4], eax
mov eax, dword [esp + 0x74]
mov dword [edi], eax
mov eax, dword [esp + 0x78]
mov dword [edi + 4], eax
mov eax, dword [esp + 0x80]
mov dword [edi + 8], eax
mov eax, dword [esp + 0x84]
mov dword [edi + 0xc], eax
mov eax, dword [esp + 0x7c]
test eax, eax
mov ecx, eax
cmove ecx, edx
cmp eax, 0x100
mov edx, 0x100
mov eax, ebx
cmovb ecx, edx
shr eax, 0x18
shl eax, 2
mov dword [edi + 0x14], ecx
mov word [edi + 0x1a], ax
cmp ax, dx
jbe 0x530110
mov word [edi + 0x1a], dx
mov eax, ebx
shr eax, 8
movzx eax, al
mov word [edi + 0x1c], ax
cmp eax, 0x40
jbe 0x53012a
mov eax, 0x40
mov word [edi + 0x1c], ax
shr ebx, 0x10
xor eax, eax
test bl, 0x10
je 0x53013d
mov word [edi + 0x1e], bp
mov eax, 2
movzx ecx, ax
test bl, 0x20
je 0x53014f
or eax, 8
mov word [edi + 0x1e], ax
movzx ecx, ax
movzx eax, cx
test bl, 0x40
je 0x530161
or ecx, 4
mov word [edi + 0x1e], cx
movzx eax, cx
movzx ecx, ax
test bl, bl
jns 0x530172
or eax, 0x10
mov word [edi + 0x1e], ax
movzx ecx, ax
mov al, byte [esp + 0x6f]
and al, 0x7f
movzx eax, al
shl ax, 2
mov word [edi + 0x18], ax
cmp ax, dx
jbe 0x53018c
mov word [edi + 0x18], dx
test byte [esp + 0x6f], 0x80
movzx edx, cx
je 0x5301a0
or ecx, 0x20
mov word [edi + 0x1e], cx
movzx edx, cx
movzx eax, byte [esp + 0x8f]
mov ebp, dword [esp + 0x88]
and eax, 7
movzx eax, byte [eax + 0xc5dad0]
mov byte [edi + 0x22], al
movzx eax, byte [esp + 0x8c]
mov byte [edi + 0x25], al
movzx eax, byte [esp + 0x8d]
and al, 0x7f
mov byte [edi + 0x24], al
movzx eax, byte [esp + 0x8e]
add eax, 3
shr eax, 2
mov byte [edi + 0x23], al
test ebp, ebp
je 0x5302c3
cmp ebp, dword [esp + 0xd98]
jae 0x5302c3
mov eax, dword [esp + 0x70]
test eax, eax
je 0x5302c3
cmp eax, 0xf42400
mov ecx, 0xf42400
cmova eax, ecx
mov cl, byte [esp + 0x6e]
mov dword [edi - 4], eax
movzx eax, cl
not eax
and eax, 1
test bl, 2
je 0x530265
or edx, 1
lea ecx, [eax + 5]
mov word [edi + 0x1e], dx
mov edx, ecx
or edx, 8
test bl, 4
cmove edx, ecx
test bl, 8
je 0x5302a3
mov eax, 0x215
cmp word [esp + 0xba], ax
jb 0x53025e
test byte [esp + 0x6e], 4
je 0x53025e
mov edx, 0x16
jmp 0x5302a3
mov edx, 0x14
jmp 0x5302a3
mov ch, bl
and ch, 4
cmp cl, 0xff
jne 0x530276
mov edx, 3
jmp 0x5302a3
mov edx, eax
or edx, 8
test ch, ch
cmove edx, eax
test bl, 8
je 0x5302a3
mov eax, 0x215
cmp word [esp + 0xba], ax
jb 0x53029e
mov edx, 0x12
test cl, 4
jne 0x5302a3
mov edx, 0x10
mov eax, dword [esp + 0xd98]
mov ecx, esi
sub eax, ebp
push eax
mov eax, dword [esp + 0xd98]
add eax, ebp
push eax
push edx
lea eax, [edi - 4]
push eax
call fcn.0050b350
mov ebx, dword [esp + 0x14]
mov ebp, 2
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
movups xmm0, xmmword [esp + 0x54]
mov ax, word [esp + 0x6c]
movups xmmword [ecx], xmm0
movq xmm0, qword [esp + 0x64]
movq qword [ecx + 0x10], xmm0
mov word [ecx + 0x18], ax
jmp 0x5302f6
mov ecx, dword [esp + 0x1c]
inc edx
add ecx, 0x20
add edi, 0x40
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], ecx
cmp edx, ebx
jb 0x530030
mov edi, 0x40
xor eax, eax
mov dword [esp + 0x38], eax
cmp dword [esp + 0x30], eax
jbe 0x53072f
lea ecx, [esi + 0xcac0]
lea edx, [esi + 0xce80]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x28], edx
lea ebp, [esi + 0xcac0]
nop dword [eax]
mov ecx, dword [esp + eax*4 + 0x250]
test ecx, ecx
je 0x53077b
mov eax, dword [esp + 0xd98]
add eax, 0xfffffffc
cmp ecx, eax
jae 0x53077b
mov eax, dword [esp + 0xd94]
add eax, ecx
mov dword [esp + 0x18], eax
movzx edx, word [eax + 2]
movzx edi, word [eax]
mov ebx, edx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x34], ebx
lea eax, [ebx - 4]
cmp eax, 0xfc
ja 0x530701
lea eax, [edi + 8]
cmp eax, dword [esp + 0xd98]
ja 0x530701
mov eax, dword [esp + 0xd98]
sub eax, edi
sub eax, 8
cmp ecx, eax
ja 0x530701
mov eax, dword [esp + 0x28]
mov word [eax], dx
push dword [esi + 0xe910]
push ebx
call fcn.0050c1c0
mov ebp, eax
add esp, 8
mov eax, dword [esp + 0x14]
mov dword [eax], ebp
test ebp, ebp
je 0x5306fd
push 0x180
lea eax, [esp + 0x94]
push 0
push eax
call fcn.00490d60
push 0x40
lea eax, [esp + 0x220]
push 0
push eax
call fcn.00490d60
xor ebx, ebx
add esp, 0x18
mov dword [esp + 0x1c], ebx
cmp dword [esp + 0x34], ebx
jbe 0x5306fd
nop
cmp ebx, edi
jae 0x5306fd
mov eax, dword [esp + 0x18]
mov cl, byte [eax + ebx + 8]
inc ebx
test cl, cl
jne 0x53043b
mov eax, dword [esi + 0xe910]
inc dword [esp + 0x1c]
lea eax, [eax + eax*2]
lea ebp, [ebp + eax*2]
jmp 0x5306eb
movzx eax, cl
and eax, 0x7f
je 0x530447
dec eax
and eax, 0x3f
test cl, cl
jns 0x530469
cmp ebx, edi
jae 0x5306fd
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x210]
add edx, eax
mov cl, byte [ecx + ebx + 8]
inc ebx
mov byte [edx], cl
jmp 0x530472
lea edx, [esp + 0x210]
add edx, eax
mov ch, byte [edx]
mov byte [esp + 0x13], ch
test ch, 0x10
je 0x530493
cmp eax, dword [esi + 0xe910]
jae 0x530493
lea edx, [eax + eax*2]
mov cl, byte [esp + edx*2 + 0x90]
mov byte [ebp + edx*2], cl
test ch, 0x20
je 0x5304ae
cmp eax, dword [esi + 0xe910]
jae 0x5304ae
lea edx, [eax + eax*2]
mov cl, byte [esp + edx*2 + 0x91]
mov byte [ebp + edx*2 + 1], cl
test ch, 0x40
je 0x5304d4
cmp eax, dword [esi + 0xe910]
jae 0x5304d4
lea edx, [eax + eax*2]
mov cl, byte [esp + edx*2 + 0x92]
mov byte [ebp + edx*2 + 2], cl
mov cl, byte [esp + edx*2 + 0x94]
mov byte [ebp + edx*2 + 4], cl
test ch, ch
jns 0x5304f9
cmp eax, dword [esi + 0xe910]
jae 0x5304f9
lea edx, [eax + eax*2]
mov cl, byte [esp + edx*2 + 0x93]
mov byte [ebp + edx*2 + 3], cl
mov cl, byte [esp + edx*2 + 0x95]
mov byte [ebp + edx*2 + 5], cl
test ch, 1
je 0x53054c
cmp ebx, edi
jae 0x5306fd
mov edx, dword [esp + 0x18]
mov cl, byte [edx + ebx + 8]
inc ebx
movzx edx, cl
mov byte [esp + 0x23], cl
mov dword [esp + 0x3c], edx
cmp eax, dword [esi + 0xe910]
jae 0x53054c
mov ecx, dword [esp + 0x3c]
lea esi, [eax + eax*2]
inc dl
movzx ecx, cl
cmp byte [esp + 0x23], 0x80
movzx edx, dl
cmovae edx, ecx
mov ch, byte [esp + 0x13]
mov byte [ebp + esi*2], dl
mov byte [esp + esi*2 + 0x90], dl
mov esi, dword [esp + 0x24]
test ch, 2
je 0x53057e
cmp ebx, edi
jae 0x5306fd
mov edx, dword [esp + 0x18]
mov dl, byte [edx + ebx + 8]
inc ebx
cmp eax, dword [esi + 0xe910]
jae 0x53057e
lea ecx, [eax + eax*2]
add ecx, ecx
mov byte [ecx + ebp + 1], dl
mov byte [esp + ecx + 0x91], dl
mov ch, byte [esp + 0x13]
test ch, 4
je 0x53068c
cmp ebx, edi
jae 0x5306fd
mov edx, dword [esp + 0x18]
mov dl, byte [edx + ebx + 8]
inc ebx
cmp eax, dword [esi + 0xe910]
jae 0x53068c
cmp dl, 0x40
ja 0x5305b6
lea ecx, [eax + eax*2]
mov byte [ebp + ecx*2 + 2], 1
jmp 0x53066b
mov cl, dl
add cl, 0x80
cmp cl, 0x40
ja 0x5305d0
lea ecx, [eax + eax*2]
sub dl, 0x80
mov byte [ebp + ecx*2 + 2], 2
jmp 0x53066b
cmp dl, 0x4b
jae 0x5305e5
lea ecx, [eax + eax*2]
sub dl, 0x41
mov byte [ebp + ecx*2 + 2], 5
jmp 0x53066b
cmp dl, 0x55
jae 0x5305f7
lea ecx, [eax + eax*2]
sub dl, 0x4b
mov byte [ebp + ecx*2 + 2], 6
jmp 0x53066b
cmp dl, 0x5f
jae 0x530609
lea ecx, [eax + eax*2]
sub dl, 0x55
mov byte [ebp + ecx*2 + 2], 3
jmp 0x53066b
cmp dl, 0x69
jae 0x53061b
lea ecx, [eax + eax*2]
sub dl, 0x5f
mov byte [ebp + ecx*2 + 2], 4
jmp 0x53066b
cmp dl, 0x73
jae 0x53062d
lea ecx, [eax + eax*2]
sub dl, 0x69
mov byte [ebp + ecx*2 + 2], 0xd
jmp 0x53066b
cmp dl, 0x7d
jae 0x53063f
lea ecx, [eax + eax*2]
sub dl, 0x73
mov byte [ebp + ecx*2 + 2], 0xc
jmp 0x53066b
mov cl, dl
add cl, 0x3f
cmp cl, 9
ja 0x530656
lea ecx, [eax + eax*2]
add dl, 0x3f
mov byte [ebp + ecx*2 + 2], 0xb
jmp 0x53066b
cmp dl, 0xcb
jb 0x530673
cmp dl, 0xd4
ja 0x530673
lea ecx, [eax + eax*2]
add dl, 0x35
mov byte [ebp + ecx*2 + 2], 7
mov byte [ebp + ecx*2 + 4], dl
mov ch, byte [esp + 0x13]
lea edx, [eax + eax*2]
mov cl, byte [ebp + edx*2 + 2]
mov byte [esp + edx*2 + 0x92], cl
mov cl, byte [ebp + edx*2 + 4]
mov byte [esp + edx*2 + 0x94], cl
test ch, 8
je 0x5306eb
lea ecx, [edi - 2]
cmp ebx, ecx
ja 0x5306fd
mov edx, dword [esp + 0x18]
mov cl, byte [edx + ebx + 8]
mov dl, byte [edx + ebx + 9]
add ebx, 2
cmp eax, dword [esi + 0xe910]
jae 0x5306eb
test cl, cl
je 0x5306eb
lea edi, [eax + eax*2]
lea esi, [edi*2]
add esi, ebp
push 1
push esi
mov byte [esi + 3], cl
mov ecx, dword [esp + 0x2c]
mov byte [esi + 5], dl
call fcn.0052cfc0
movzx eax, byte [esi + 3]
mov byte [esp + edi*2 + 0x93], al
movzx eax, byte [esi + 5]
mov byte [esp + edi*2 + 0x95], al
mov edi, dword [esp + 0x2c]
mov eax, dword [esp + 0x34]
mov esi, dword [esp + 0x24]
cmp dword [esp + 0x1c], eax
jb 0x530410
mov ebp, dword [esp + 0x14]
mov edi, 0x40
mov eax, dword [esp + 0x38]
add ebp, 4
mov edx, dword [esp + 0x28]
inc eax
mov esi, dword [esp + 0x24]
add edx, 2
mov dword [esp + 0x38], eax
mov dword [esp + 0x28], edx
mov dword [esp + 0x14], ebp
cmp eax, dword [esp + 0x30]
jb 0x530340
xor eax, eax
lea ecx, [esi + 0xc1c8]
cmp eax, dword [esi + 0xe910]
jb 0x53074c
and dword [ecx], 0xfffffeff
mov dword [ecx - 4], 0x40
inc eax
add ecx, 0x24
cmp eax, 0x40
jb 0x530737
pop edi
mov dword [esi + 0xe974], 8
mov eax, 1
mov dword [esi + 0xe978], 0xf000
pop esi
pop ebp
pop ebx
add esp, 0xd80
ret 8
mov word [edx], di
push dword [esi + 0xe910]
push 0x40
call fcn.0050c1c0
add esp, 8
mov dword [ebp], eax
jmp 0x530706
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xd80
ret 8