Function at 0x49c2a0
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 0x49d1c6
cmp dword [esp + 0xd98], 0xc0
jb 0x49d1c6
mov ecx, 0x30
lea edi, [esp + 0x90]
mov esi, eax
rep movsd dword es:[edi], dword [esi]
cmp dword [esp + 0x90], 0x4d504d49
jne 0x49d1c6
mov dx, word [esp + 0xb2]
mov ecx, 0xf0
cmp dx, cx
jae 0x49d1c6
mov ax, word [esp + 0xb4]
test ax, ax
je 0x49d1c6
cmp ax, cx
jae 0x49d1c6
mov cx, word [esp + 0xb0]
test cx, cx
je 0x49d1c6
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 0x49d1c6
mov esi, dword [esp + 0x24]
mov ecx, dword [esp + 0xbc]
mov eax, dword [esi + 0xe90c]
mov dword [esi + 0xe920], 0x20
test cl, 8
je 0x49c390
or eax, 0x10
mov dword [esi + 0xe90c], eax
test cl, 0x10
je 0x49c39e
or eax, 4
mov dword [esi + 0xe90c], eax
test cl, 0x20
je 0x49c3ac
or eax, 8
mov dword [esi + 0xe90c], eax
test cl, cl
jns 0x49c3b9
or eax, 1
mov dword [esi + 0xe90c], eax
test ecx, 0x1000
je 0x49c3cc
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 0x49c42b
movzx eax, al
add eax, eax
mov dword [esi + 0xe908], eax
je 0x49c421
cmp eax, 0x100
jbe 0x49c42b
mov dword [esi + 0xe908], 0x100
mov al, byte [esp + 0xc2]
test al, al
je 0x49c43f
movzx eax, al
mov dword [esi + 0xe900], eax
mov al, byte [esp + 0xc3]
test al, al
je 0x49c453
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 0x49c4b6
movzx eax, byte [esp + edx + 0x110]
mov dword [ecx - 4], eax
mov dword [ecx - 8], 0x80
test bl, bl
jns 0x49c498
or dword [ecx], 0x100
movzx eax, bl
and eax, 0x7f
cmp eax, 0x40
ja 0x49c4ab
shl eax, 2
mov dword [ecx - 8], eax
jmp 0x49c4b6
cmp eax, 0x64
jne 0x49c4b6
or dword [ecx], 0x800
inc edx
add ecx, 0x24
cmp edx, 0x40
jl 0x49c470
cmp dword [esi + 0xe910], 4
jae 0x49c4d2
mov dword [esi + 0xe910], 4
test byte [esp + 0xbe], 1
je 0x49c538
mov ax, word [esp + 0xc6]
test ax, ax
je 0x49c538
movzx edi, ax
mov eax, dword [esp + 0xd98]
cmp edi, eax
ja 0x49c538
mov ebx, dword [esp + 0xc8]
sub eax, edi
cmp ebx, eax
jae 0x49c538
lea eax, [edi + 1]
push eax
call fcn.0055b188
add esp, 4
mov dword [esi + 0xe994], eax
test eax, eax
je 0x49c538
mov ecx, dword [esp + 0xd94]
push edi
add ecx, ebx
push ecx
push eax
call fcn.004692b0
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.004692b0
push 0x3c0
lea eax, [esp + 0x620]
push 0
push eax
call fcn.00465b30
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.004692b0
add esp, 0x24
xor ecx, ecx
test edi, edi
je 0x49c5b8
inc ecx
cmp ecx, edi
jb 0x49c5b3
push 0x3c0
lea eax, [esp + 0x9d4]
push 0
lea ebx, [ebx*4 + 0xc0]
push eax
add ebx, ebp
call fcn.00465b30
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.004692b0
add esp, 0x18
xor ecx, ecx
test edi, edi
je 0x49c616
inc ecx
cmp ecx, edi
jb 0x49c611
push 0x3c0
lea eax, [esp + 0x254]
push 0
push eax
lea ebx, [ebx + ebp*4]
call fcn.00465b30
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.004692b0
add esp, 0x18
xor ecx, ecx
test edi, edi
je 0x49c675
nop dword [eax]
inc ecx
cmp ecx, edi
jb 0x49c670
movzx eax, word [esp + 0xb6]
mov edx, dword [esp + 0xd98]
lea edi, [ebx + eax*4]
lea ecx, [edi + 2]
cmp ecx, edx
jae 0x49c69c
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 0x49c6d0
lea ebx, [edi + 0x1320]
cmp ebx, edx
jae 0x49c6d0
push 0x1320
lea eax, [edi + ebp]
push eax
lea eax, [esi + 0xd160]
push eax
call fcn.004692b0
mov edx, dword [esp + 0xda4]
add esp, 0xc
mov edi, ebx
lea eax, [edi + 8]
cmp eax, edx
jae 0x49c73b
cmp dword [edi + ebp], 0x4d414e50
lea ebx, [edi + ebp]
jne 0x49c73b
mov ebx, dword [ebx + 4]
mov edi, eax
lea ebp, [ebx + edi]
cmp ebp, edx
ja 0x49c734
lea eax, [ebx - 0x20]
cmp eax, 0x1de0
ja 0x49c734
push ebx
call fcn.0055b188
add esp, 4
mov dword [esi + 0xe998], eax
test eax, eax
je 0x49c72b
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.004692b0
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 0x49c7c6
cmp dword [edi + ebp], 0x4d414e43
lea ecx, [edi + ebp]
jne 0x49c7c6
mov ecx, dword [ecx + 4]
mov edi, eax
lea ebp, [ecx + edi]
cmp ebp, edx
ja 0x49c7c6
cmp ecx, 0x500
ja 0x49c7c6
mov eax, 0xcccccccd
mul ecx
mov ebx, edx
shr ebx, 4
cmp ebx, 4
jbe 0x49c785
mov dword [esi + 0xe910], ebx
jmp 0x49c789
test ebx, ebx
je 0x49c7bd
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 0x49c7a0
mov edx, dword [esp + 0xd98]
mov edi, ebp
mov ebp, dword [esp + 0xd94]
lea eax, [edi + 8]
cmp eax, edx
jae 0x49c7e2
sub edx, edi
lea eax, [edi + ebp]
push edx
push eax
mov ecx, esi
call fcn.0049c130
movzx eax, word [esp + 0xb6]
xor ebx, ebx
mov dword [esp + 0x18], ebx
cmp eax, 0xf0
jbe 0x49c801
mov dword [esp + 0x30], 0xf0
jmp 0x49c810
test eax, eax
je 0x49c958
nop dword [eax]
push 0x40
lea eax, [esp + 0x214]
push 0
push eax
call fcn.00465b30
mov ecx, dword [esp + ebx*4 + 0x25c]
add esp, 0xc
test ecx, ecx
je 0x49c942
mov eax, dword [esp + 0xd98]
add eax, 0xfffffffc
cmp ecx, eax
jae 0x49c942
movzx edi, word [ecx + ebp + 2]
lea edx, [ecx + ebp]
mov dword [esp + 0x34], edi
lea eax, [edi - 4]
cmp eax, 0xfc
ja 0x49c942
movzx ebp, word [edx]
lea eax, [ebp + 8]
cmp eax, dword [esp + 0xd98]
ja 0x49c942
mov eax, dword [esp + 0xd98]
sub eax, ebp
sub eax, 8
cmp ecx, eax
ja 0x49c942
lea ebx, [edx + 8]
xor ecx, ecx
xor edx, edx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x28], edx
test edi, edi
je 0x49c93e
nop dword [eax]
cmp ecx, ebp
jae 0x49c93e
mov al, byte [ebx + ecx]
inc ecx
test al, al
jne 0x49c8b7
inc edx
mov dword [esp + 0x28], edx
jmp 0x49c936
movzx edx, al
and edx, 0x7f
je 0x49c8c3
dec edx
and edx, 0x3f
test al, al
jns 0x49c8dc
cmp ecx, ebp
jae 0x49c93e
mov al, byte [ebx + ecx]
lea edi, [esp + 0x210]
add edi, edx
inc ecx
mov byte [edi], al
jmp 0x49c8e5
lea edi, [esp + 0x210]
add edi, edx
mov bl, byte [edi]
test bl, 0xf
je 0x49c902
cmp edx, dword [esi + 0xe910]
jb 0x49c902
cmp edx, 0x40
jae 0x49c902
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 0x49c93e
mov edx, dword [esp + 0x28]
mov ebx, dword [esp + 0x38]
mov edi, dword [esp + 0x34]
cmp edx, edi
jb 0x49c8a0
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0xd94]
inc ebx
mov dword [esp + 0x18], ebx
cmp ebx, dword [esp + 0x30]
jb 0x49c810
xor eax, eax
mov dword [esi + 0xe928], 0
test byte [esp + 0xbc], 4
je 0x49c978
mov eax, dword [esp + 0x1c]
mov dword [esi + 0xe928], eax
xor ebx, ebx
cmp eax, 0xf0
jb 0x49c98d
mov dword [esi + 0xe928], 0xef
jmp 0x49c991
test eax, eax
je 0x49ca0d
lea eax, [esi + 0xbe04]
mov dword [esp + 0x1c], eax
nop dword [eax + eax]
mov ebp, dword [esp + ebx*4 + 0x610]
test ebp, ebp
je 0x49c9ff
mov eax, dword [esp + 0xd98]
add eax, 0xfffffdd6
cmp ebp, eax
jae 0x49c9ff
push 0x278
call fcn.0055b153
mov edi, eax
add esp, 4
test edi, edi
je 0x49c9ff
mov eax, dword [esp + 0x1c]
push 0x278
push 0
push edi
mov dword [eax], edi
call fcn.00465b30
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.0049b7b0
add dword [esp + 0x1c], 4
inc ebx
cmp ebx, dword [esi + 0xe928]
jb 0x49c9a0
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 0x49ca36
mov dword [esi + 0xe924], 0xef
jmp 0x49ca42
mov dword [esp + 0x14], ebx
test ebx, ebx
je 0x49cd42
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 0x49cd22
mov eax, dword [esp + 0xd98]
add eax, 0xffffffb0
cmp ecx, eax
ja 0x49cd22
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 0x49cd00
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 0x49cb40
mov word [edi + 0x1a], dx
mov eax, ebx
shr eax, 8
movzx eax, al
mov word [edi + 0x1c], ax
cmp eax, 0x40
jbe 0x49cb5a
mov eax, 0x40
mov word [edi + 0x1c], ax
shr ebx, 0x10
xor eax, eax
test bl, 0x10
je 0x49cb6d
mov word [edi + 0x1e], bp
mov eax, 2
movzx ecx, ax
test bl, 0x20
je 0x49cb7f
or eax, 8
mov word [edi + 0x1e], ax
movzx ecx, ax
movzx eax, cx
test bl, 0x40
je 0x49cb91
or ecx, 4
mov word [edi + 0x1e], cx
movzx eax, cx
movzx ecx, ax
test bl, bl
jns 0x49cba2
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 0x49cbbc
mov word [edi + 0x18], dx
test byte [esp + 0x6f], 0x80
movzx edx, cx
je 0x49cbd0
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 + 0xf7cd78]
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 0x49ccf3
cmp ebp, dword [esp + 0xd98]
jae 0x49ccf3
mov eax, dword [esp + 0x70]
test eax, eax
je 0x49ccf3
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 0x49cc95
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 0x49ccd3
mov eax, 0x215
cmp word [esp + 0xba], ax
jb 0x49cc8e
test byte [esp + 0x6e], 4
je 0x49cc8e
mov edx, 0x16
jmp 0x49ccd3
mov edx, 0x14
jmp 0x49ccd3
mov ch, bl
and ch, 4
cmp cl, 0xff
jne 0x49cca6
mov edx, 3
jmp 0x49ccd3
mov edx, eax
or edx, 8
test ch, ch
cmove edx, eax
test bl, 8
je 0x49ccd3
mov eax, 0x215
cmp word [esp + 0xba], ax
jb 0x49ccce
mov edx, 0x12
test cl, 4
jne 0x49ccd3
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.00490d00
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 0x49cd26
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 0x49ca60
mov edi, 0x40
xor eax, eax
mov dword [esp + 0x38], eax
cmp dword [esp + 0x30], eax
jbe 0x49d15f
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 0x49d1ab
mov eax, dword [esp + 0xd98]
add eax, 0xfffffffc
cmp ecx, eax
jae 0x49d1ab
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 0x49d131
lea eax, [edi + 8]
cmp eax, dword [esp + 0xd98]
ja 0x49d131
mov eax, dword [esp + 0xd98]
sub eax, edi
sub eax, 8
cmp ecx, eax
ja 0x49d131
mov eax, dword [esp + 0x28]
mov word [eax], dx
push dword [esi + 0xe910]
push ebx
call fcn.0048fee0
mov ebp, eax
add esp, 8
mov eax, dword [esp + 0x14]
mov dword [eax], ebp
test ebp, ebp
je 0x49d12d
push 0x180
lea eax, [esp + 0x94]
push 0
push eax
call fcn.00465b30
push 0x40
lea eax, [esp + 0x220]
push 0
push eax
call fcn.00465b30
xor ebx, ebx
add esp, 0x18
mov dword [esp + 0x1c], ebx
cmp dword [esp + 0x34], ebx
jbe 0x49d12d
nop
cmp ebx, edi
jae 0x49d12d
mov eax, dword [esp + 0x18]
mov cl, byte [eax + ebx + 8]
inc ebx
test cl, cl
jne 0x49ce6b
mov eax, dword [esi + 0xe910]
inc dword [esp + 0x1c]
lea eax, [eax + eax*2]
lea ebp, [ebp + eax*2]
jmp 0x49d11b
movzx eax, cl
and eax, 0x7f
je 0x49ce77
dec eax
and eax, 0x3f
test cl, cl
jns 0x49ce99
cmp ebx, edi
jae 0x49d12d
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 0x49cea2
lea edx, [esp + 0x210]
add edx, eax
mov ch, byte [edx]
mov byte [esp + 0x13], ch
test ch, 0x10
je 0x49cec3
cmp eax, dword [esi + 0xe910]
jae 0x49cec3
lea edx, [eax + eax*2]
mov cl, byte [esp + edx*2 + 0x90]
mov byte [ebp + edx*2], cl
test ch, 0x20
je 0x49cede
cmp eax, dword [esi + 0xe910]
jae 0x49cede
lea edx, [eax + eax*2]
mov cl, byte [esp + edx*2 + 0x91]
mov byte [ebp + edx*2 + 1], cl
test ch, 0x40
je 0x49cf04
cmp eax, dword [esi + 0xe910]
jae 0x49cf04
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 0x49cf29
cmp eax, dword [esi + 0xe910]
jae 0x49cf29
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 0x49cf7c
cmp ebx, edi
jae 0x49d12d
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 0x49cf7c
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 0x49cfae
cmp ebx, edi
jae 0x49d12d
mov edx, dword [esp + 0x18]
mov dl, byte [edx + ebx + 8]
inc ebx
cmp eax, dword [esi + 0xe910]
jae 0x49cfae
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 0x49d0bc
cmp ebx, edi
jae 0x49d12d
mov edx, dword [esp + 0x18]
mov dl, byte [edx + ebx + 8]
inc ebx
cmp eax, dword [esi + 0xe910]
jae 0x49d0bc
cmp dl, 0x40
ja 0x49cfe6
lea ecx, [eax + eax*2]
mov byte [ebp + ecx*2 + 2], 1
jmp 0x49d09b
mov cl, dl
add cl, 0x80
cmp cl, 0x40
ja 0x49d000
lea ecx, [eax + eax*2]
sub dl, 0x80
mov byte [ebp + ecx*2 + 2], 2
jmp 0x49d09b
cmp dl, 0x4b
jae 0x49d015
lea ecx, [eax + eax*2]
sub dl, 0x41
mov byte [ebp + ecx*2 + 2], 5
jmp 0x49d09b
cmp dl, 0x55
jae 0x49d027
lea ecx, [eax + eax*2]
sub dl, 0x4b
mov byte [ebp + ecx*2 + 2], 6
jmp 0x49d09b
cmp dl, 0x5f
jae 0x49d039
lea ecx, [eax + eax*2]
sub dl, 0x55
mov byte [ebp + ecx*2 + 2], 3
jmp 0x49d09b
cmp dl, 0x69
jae 0x49d04b
lea ecx, [eax + eax*2]
sub dl, 0x5f
mov byte [ebp + ecx*2 + 2], 4
jmp 0x49d09b
cmp dl, 0x73
jae 0x49d05d
lea ecx, [eax + eax*2]
sub dl, 0x69
mov byte [ebp + ecx*2 + 2], 0xd
jmp 0x49d09b
cmp dl, 0x7d
jae 0x49d06f
lea ecx, [eax + eax*2]
sub dl, 0x73
mov byte [ebp + ecx*2 + 2], 0xc
jmp 0x49d09b
mov cl, dl
add cl, 0x3f
cmp cl, 9
ja 0x49d086
lea ecx, [eax + eax*2]
add dl, 0x3f
mov byte [ebp + ecx*2 + 2], 0xb
jmp 0x49d09b
cmp dl, 0xcb
jb 0x49d0a3
cmp dl, 0xd4
ja 0x49d0a3
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 0x49d11b
lea ecx, [edi - 2]
cmp ebx, ecx
ja 0x49d12d
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 0x49d11b
test cl, cl
je 0x49d11b
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.0049afc0
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 0x49ce40
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 0x49cd70
xor eax, eax
lea ecx, [esi + 0xc1c8]
cmp eax, dword [esi + 0xe910]
jb 0x49d17c
and dword [ecx], 0xfffffeff
mov dword [ecx - 4], 0x40
inc eax
add ecx, 0x24
cmp eax, 0x40
jb 0x49d167
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.0048fee0
add esp, 8
mov dword [ebp], eax
jmp 0x49d136
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xd80
ret 8