Function at 0x530c50
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 0x531b76
cmp dword [esp + 0xd98], 0xc0
jb 0x531b76
mov ecx, 0x30
lea edi, [esp + 0x90]
mov esi, eax
rep movsd dword es:[edi], dword [esi]
cmp dword [esp + 0x90], 0x4d504d49
jne 0x531b76
mov dx, word [esp + 0xb2]
mov ecx, 0xf0
cmp dx, cx
jae 0x531b76
mov ax, word [esp + 0xb4]
test ax, ax
je 0x531b76
cmp ax, cx
jae 0x531b76
mov cx, word [esp + 0xb0]
test cx, cx
je 0x531b76
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 0x531b76
mov esi, dword [esp + 0x24]
mov ecx, dword [esp + 0xbc]
mov eax, dword [esi + 0xe90c]
mov dword [esi + 0xe920], 0x20
test cl, 8
je 0x530d40
or eax, 0x10
mov dword [esi + 0xe90c], eax
test cl, 0x10
je 0x530d4e
or eax, 4
mov dword [esi + 0xe90c], eax
test cl, 0x20
je 0x530d5c
or eax, 8
mov dword [esi + 0xe90c], eax
test cl, cl
jns 0x530d69
or eax, 1
mov dword [esi + 0xe90c], eax
test ecx, 0x1000
je 0x530d7c
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 0x530ddb
movzx eax, al
add eax, eax
mov dword [esi + 0xe908], eax
je 0x530dd1
cmp eax, 0x100
jbe 0x530ddb
mov dword [esi + 0xe908], 0x100
mov al, byte [esp + 0xc2]
test al, al
je 0x530def
movzx eax, al
mov dword [esi + 0xe900], eax
mov al, byte [esp + 0xc3]
test al, al
je 0x530e03
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 0x530e66
movzx eax, byte [esp + edx + 0x110]
mov dword [ecx - 4], eax
mov dword [ecx - 8], 0x80
test bl, bl
jns 0x530e48
or dword [ecx], 0x100
movzx eax, bl
and eax, 0x7f
cmp eax, 0x40
ja 0x530e5b
shl eax, 2
mov dword [ecx - 8], eax
jmp 0x530e66
cmp eax, 0x64
jne 0x530e66
or dword [ecx], 0x800
inc edx
add ecx, 0x24
cmp edx, 0x40
jl 0x530e20
cmp dword [esi + 0xe910], 4
jae 0x530e82
mov dword [esi + 0xe910], 4
test byte [esp + 0xbe], 1
je 0x530ee8
mov ax, word [esp + 0xc6]
test ax, ax
je 0x530ee8
movzx edi, ax
mov eax, dword [esp + 0xd98]
cmp edi, eax
ja 0x530ee8
mov ebx, dword [esp + 0xc8]
sub eax, edi
cmp ebx, eax
jae 0x530ee8
lea eax, [edi + 1]
push eax
call fcn.0052c710
add esp, 4
mov dword [esi + 0xe994], eax
test eax, eax
je 0x530ee8
mov ecx, dword [esp + 0xd94]
push edi
add ecx, ebx
push ecx
push eax
call fcn.004abb90
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.004abb90
push 0x3c0
lea eax, [esp + 0x620]
push 0
push eax
call fcn.004920b0
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.004abb90
add esp, 0x24
xor ecx, ecx
test edi, edi
je 0x530f68
inc ecx
cmp ecx, edi
jb 0x530f63
push 0x3c0
lea eax, [esp + 0x9d4]
push 0
lea ebx, [ebx*4 + 0xc0]
push eax
add ebx, ebp
call fcn.004920b0
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.004abb90
add esp, 0x18
xor ecx, ecx
test edi, edi
je 0x530fc6
inc ecx
cmp ecx, edi
jb 0x530fc1
push 0x3c0
lea eax, [esp + 0x254]
push 0
push eax
lea ebx, [ebx + ebp*4]
call fcn.004920b0
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.004abb90
add esp, 0x18
xor ecx, ecx
test edi, edi
je 0x531025
nop dword [eax]
inc ecx
cmp ecx, edi
jb 0x531020
movzx eax, word [esp + 0xb6]
mov edx, dword [esp + 0xd98]
lea edi, [ebx + eax*4]
lea ecx, [edi + 2]
cmp ecx, edx
jae 0x53104c
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 0x531080
lea ebx, [edi + 0x1320]
cmp ebx, edx
jae 0x531080
push 0x1320
lea eax, [edi + ebp]
push eax
lea eax, [esi + 0xd160]
push eax
call fcn.004abb90
mov edx, dword [esp + 0xda4]
add esp, 0xc
mov edi, ebx
lea eax, [edi + 8]
cmp eax, edx
jae 0x5310eb
cmp dword [edi + ebp], 0x4d414e50
lea ebx, [edi + ebp]
jne 0x5310eb
mov ebx, dword [ebx + 4]
mov edi, eax
lea ebp, [ebx + edi]
cmp ebp, edx
ja 0x5310e4
lea eax, [ebx - 0x20]
cmp eax, 0x1de0
ja 0x5310e4
push ebx
call fcn.0052c710
add esp, 4
mov dword [esi + 0xe998], eax
test eax, eax
je 0x5310db
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.004abb90
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 0x531176
cmp dword [edi + ebp], 0x4d414e43
lea ecx, [edi + ebp]
jne 0x531176
mov ecx, dword [ecx + 4]
mov edi, eax
lea ebp, [ecx + edi]
cmp ebp, edx
ja 0x531176
cmp ecx, 0x500
ja 0x531176
mov eax, 0xcccccccd
mul ecx
mov ebx, edx
shr ebx, 4
cmp ebx, 4
jbe 0x531135
mov dword [esi + 0xe910], ebx
jmp 0x531139
test ebx, ebx
je 0x53116d
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 0x531150
mov edx, dword [esp + 0xd98]
mov edi, ebp
mov ebp, dword [esp + 0xd94]
lea eax, [edi + 8]
cmp eax, edx
jae 0x531192
sub edx, edi
lea eax, [edi + ebp]
push edx
push eax
mov ecx, esi
call fcn.005320a0
movzx eax, word [esp + 0xb6]
xor ebx, ebx
mov dword [esp + 0x18], ebx
cmp eax, 0xf0
jbe 0x5311b1
mov dword [esp + 0x30], 0xf0
jmp 0x5311c0
test eax, eax
je 0x531308
nop dword [eax]
push 0x40
lea eax, [esp + 0x214]
push 0
push eax
call fcn.004920b0
mov ecx, dword [esp + ebx*4 + 0x25c]
add esp, 0xc
test ecx, ecx
je 0x5312f2
mov eax, dword [esp + 0xd98]
add eax, 0xfffffffc
cmp ecx, eax
jae 0x5312f2
movzx edi, word [ecx + ebp + 2]
lea edx, [ecx + ebp]
mov dword [esp + 0x34], edi
lea eax, [edi - 4]
cmp eax, 0xfc
ja 0x5312f2
movzx ebp, word [edx]
lea eax, [ebp + 8]
cmp eax, dword [esp + 0xd98]
ja 0x5312f2
mov eax, dword [esp + 0xd98]
sub eax, ebp
sub eax, 8
cmp ecx, eax
ja 0x5312f2
lea ebx, [edx + 8]
xor ecx, ecx
xor edx, edx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x28], edx
test edi, edi
je 0x5312ee
nop dword [eax]
cmp ecx, ebp
jae 0x5312ee
mov al, byte [ebx + ecx]
inc ecx
test al, al
jne 0x531267
inc edx
mov dword [esp + 0x28], edx
jmp 0x5312e6
movzx edx, al
and edx, 0x7f
je 0x531273
dec edx
and edx, 0x3f
test al, al
jns 0x53128c
cmp ecx, ebp
jae 0x5312ee
mov al, byte [ebx + ecx]
lea edi, [esp + 0x210]
add edi, edx
inc ecx
mov byte [edi], al
jmp 0x531295
lea edi, [esp + 0x210]
add edi, edx
mov bl, byte [edi]
test bl, 0xf
je 0x5312b2
cmp edx, dword [esi + 0xe910]
jb 0x5312b2
cmp edx, 0x40
jae 0x5312b2
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 0x5312ee
mov edx, dword [esp + 0x28]
mov ebx, dword [esp + 0x38]
mov edi, dword [esp + 0x34]
cmp edx, edi
jb 0x531250
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0xd94]
inc ebx
mov dword [esp + 0x18], ebx
cmp ebx, dword [esp + 0x30]
jb 0x5311c0
xor eax, eax
mov dword [esi + 0xe928], 0
test byte [esp + 0xbc], 4
je 0x531328
mov eax, dword [esp + 0x1c]
mov dword [esi + 0xe928], eax
xor ebx, ebx
cmp eax, 0xf0
jb 0x53133d
mov dword [esi + 0xe928], 0xef
jmp 0x531341
test eax, eax
je 0x5313bd
lea eax, [esi + 0xbe04]
mov dword [esp + 0x1c], eax
nop dword [eax + eax]
mov ebp, dword [esp + ebx*4 + 0x610]
test ebp, ebp
je 0x5313af
mov eax, dword [esp + 0xd98]
add eax, 0xfffffdd6
cmp ebp, eax
jae 0x5313af
push 0x278
call fcn.0050b94f
mov edi, eax
add esp, 4
test edi, edi
je 0x5313af
mov eax, dword [esp + 0x1c]
push 0x278
push 0
push edi
mov dword [eax], edi
call fcn.004920b0
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.00531b90
add dword [esp + 0x1c], 4
inc ebx
cmp ebx, dword [esi + 0xe928]
jb 0x531350
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 0x5313e6
mov dword [esi + 0xe924], 0xef
jmp 0x5313f2
mov dword [esp + 0x14], ebx
test ebx, ebx
je 0x5316f2
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 0x5316d2
mov eax, dword [esp + 0xd98]
add eax, 0xffffffb0
cmp ecx, eax
ja 0x5316d2
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 0x5316b0
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 0x5314f0
mov word [edi + 0x1a], dx
mov eax, ebx
shr eax, 8
movzx eax, al
mov word [edi + 0x1c], ax
cmp eax, 0x40
jbe 0x53150a
mov eax, 0x40
mov word [edi + 0x1c], ax
shr ebx, 0x10
xor eax, eax
test bl, 0x10
je 0x53151d
mov word [edi + 0x1e], bp
mov eax, 2
movzx ecx, ax
test bl, 0x20
je 0x53152f
or eax, 8
mov word [edi + 0x1e], ax
movzx ecx, ax
movzx eax, cx
test bl, 0x40
je 0x531541
or ecx, 4
mov word [edi + 0x1e], cx
movzx eax, cx
movzx ecx, ax
test bl, bl
jns 0x531552
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 0x53156c
mov word [edi + 0x18], dx
test byte [esp + 0x6f], 0x80
movzx edx, cx
je 0x531580
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 + 0xd8fa90]
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 0x5316a3
cmp ebp, dword [esp + 0xd98]
jae 0x5316a3
mov eax, dword [esp + 0x70]
test eax, eax
je 0x5316a3
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 0x531645
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 0x531683
mov eax, 0x215
cmp word [esp + 0xba], ax
jb 0x53163e
test byte [esp + 0x6e], 4
je 0x53163e
mov edx, 0x16
jmp 0x531683
mov edx, 0x14
jmp 0x531683
mov ch, bl
and ch, 4
cmp cl, 0xff
jne 0x531656
mov edx, 3
jmp 0x531683
mov edx, eax
or edx, 8
test ch, ch
cmove edx, eax
test bl, 8
je 0x531683
mov eax, 0x215
cmp word [esp + 0xba], ax
jb 0x53167e
mov edx, 0x12
test cl, 4
jne 0x531683
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.0050c730
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 0x5316d6
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 0x531410
mov edi, 0x40
xor eax, eax
mov dword [esp + 0x38], eax
cmp dword [esp + 0x30], eax
jbe 0x531b0f
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 0x531b5b
mov eax, dword [esp + 0xd98]
add eax, 0xfffffffc
cmp ecx, eax
jae 0x531b5b
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 0x531ae1
lea eax, [edi + 8]
cmp eax, dword [esp + 0xd98]
ja 0x531ae1
mov eax, dword [esp + 0xd98]
sub eax, edi
sub eax, 8
cmp ecx, eax
ja 0x531ae1
mov eax, dword [esp + 0x28]
mov word [eax], dx
push dword [esi + 0xe910]
push ebx
call fcn.0050d5a0
mov ebp, eax
add esp, 8
mov eax, dword [esp + 0x14]
mov dword [eax], ebp
test ebp, ebp
je 0x531add
push 0x180
lea eax, [esp + 0x94]
push 0
push eax
call fcn.004920b0
push 0x40
lea eax, [esp + 0x220]
push 0
push eax
call fcn.004920b0
xor ebx, ebx
add esp, 0x18
mov dword [esp + 0x1c], ebx
cmp dword [esp + 0x34], ebx
jbe 0x531add
nop
cmp ebx, edi
jae 0x531add
mov eax, dword [esp + 0x18]
mov cl, byte [eax + ebx + 8]
inc ebx
test cl, cl
jne 0x53181b
mov eax, dword [esi + 0xe910]
inc dword [esp + 0x1c]
lea eax, [eax + eax*2]
lea ebp, [ebp + eax*2]
jmp 0x531acb
movzx eax, cl
and eax, 0x7f
je 0x531827
dec eax
and eax, 0x3f
test cl, cl
jns 0x531849
cmp ebx, edi
jae 0x531add
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 0x531852
lea edx, [esp + 0x210]
add edx, eax
mov ch, byte [edx]
mov byte [esp + 0x13], ch
test ch, 0x10
je 0x531873
cmp eax, dword [esi + 0xe910]
jae 0x531873
lea edx, [eax + eax*2]
mov cl, byte [esp + edx*2 + 0x90]
mov byte [ebp + edx*2], cl
test ch, 0x20
je 0x53188e
cmp eax, dword [esi + 0xe910]
jae 0x53188e
lea edx, [eax + eax*2]
mov cl, byte [esp + edx*2 + 0x91]
mov byte [ebp + edx*2 + 1], cl
test ch, 0x40
je 0x5318b4
cmp eax, dword [esi + 0xe910]
jae 0x5318b4
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 0x5318d9
cmp eax, dword [esi + 0xe910]
jae 0x5318d9
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 0x53192c
cmp ebx, edi
jae 0x531add
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 0x53192c
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 0x53195e
cmp ebx, edi
jae 0x531add
mov edx, dword [esp + 0x18]
mov dl, byte [edx + ebx + 8]
inc ebx
cmp eax, dword [esi + 0xe910]
jae 0x53195e
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 0x531a6c
cmp ebx, edi
jae 0x531add
mov edx, dword [esp + 0x18]
mov dl, byte [edx + ebx + 8]
inc ebx
cmp eax, dword [esi + 0xe910]
jae 0x531a6c
cmp dl, 0x40
ja 0x531996
lea ecx, [eax + eax*2]
mov byte [ebp + ecx*2 + 2], 1
jmp 0x531a4b
mov cl, dl
add cl, 0x80
cmp cl, 0x40
ja 0x5319b0
lea ecx, [eax + eax*2]
sub dl, 0x80
mov byte [ebp + ecx*2 + 2], 2
jmp 0x531a4b
cmp dl, 0x4b
jae 0x5319c5
lea ecx, [eax + eax*2]
sub dl, 0x41
mov byte [ebp + ecx*2 + 2], 5
jmp 0x531a4b
cmp dl, 0x55
jae 0x5319d7
lea ecx, [eax + eax*2]
sub dl, 0x4b
mov byte [ebp + ecx*2 + 2], 6
jmp 0x531a4b
cmp dl, 0x5f
jae 0x5319e9
lea ecx, [eax + eax*2]
sub dl, 0x55
mov byte [ebp + ecx*2 + 2], 3
jmp 0x531a4b
cmp dl, 0x69
jae 0x5319fb
lea ecx, [eax + eax*2]
sub dl, 0x5f
mov byte [ebp + ecx*2 + 2], 4
jmp 0x531a4b
cmp dl, 0x73
jae 0x531a0d
lea ecx, [eax + eax*2]
sub dl, 0x69
mov byte [ebp + ecx*2 + 2], 0xd
jmp 0x531a4b
cmp dl, 0x7d
jae 0x531a1f
lea ecx, [eax + eax*2]
sub dl, 0x73
mov byte [ebp + ecx*2 + 2], 0xc
jmp 0x531a4b
mov cl, dl
add cl, 0x3f
cmp cl, 9
ja 0x531a36
lea ecx, [eax + eax*2]
add dl, 0x3f
mov byte [ebp + ecx*2 + 2], 0xb
jmp 0x531a4b
cmp dl, 0xcb
jb 0x531a53
cmp dl, 0xd4
ja 0x531a53
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 0x531acb
lea ecx, [edi - 2]
cmp ebx, ecx
ja 0x531add
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 0x531acb
test cl, cl
je 0x531acb
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.0052e3a0
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 0x5317f0
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 0x531720
xor eax, eax
lea ecx, [esi + 0xc1c8]
cmp eax, dword [esi + 0xe910]
jb 0x531b2c
and dword [ecx], 0xfffffeff
mov dword [ecx - 4], 0x40
inc eax
add ecx, 0x24
cmp eax, 0x40
jb 0x531b17
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.0050d5a0
add esp, 8
mov dword [ebp], eax
jmp 0x531ae6
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xd80
ret 8