Function at 0x10049e90
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100f2a1a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov eax, dword [esp + 0x28]
push ebx
mov dl, byte [esp + 0x30]
push ebp
mov ebp, ecx
xor ebx, ebx
mov ecx, dword [esp + 0x2c]
push esi
mov dword [ebp + 0x23c], ecx
mov dword [ebp], eax
mov al, byte [esp + 0x38]
lea ecx, [ebp + 0x254]
mov dword [ebp + 8], ebx
mov dword [ebp + 0xc], ebx
mov dword [ebp + 0x248], ebx
mov byte [ebp + 0x24c], bl
mov dword [ebp + 0x250], ebx
mov dword [esp + 0xc], ebp
mov byte [ecx], dl
mov byte [ecx + 1], al
mov byte [ecx + 8], bl
call fcn.1004dcf0
mov dl, byte [esp + 0x38]
mov al, byte [esp + 0x38]
lea ecx, [ebp + 0x264]
mov dword [esp + 0x28], ebx
mov byte [ecx], dl
mov byte [ecx + 1], al
mov byte [ecx + 8], bl
call fcn.1004e650
mov dl, byte [esp + 0x38]
mov al, byte [esp + 0x38]
lea ecx, [ebp + 0x274]
mov byte [esp + 0x28], 1
mov byte [ecx], dl
mov byte [ecx + 1], al
mov byte [ecx + 8], bl
call fcn.1004efb0
mov dl, byte [esp + 0x38]
mov al, byte [esp + 0x38]
lea ecx, [ebp + 0x284]
mov byte [esp + 0x28], 2
mov byte [ecx], dl
mov byte [ecx + 1], al
mov byte [ecx + 8], bl
call fcn.1004f910
mov cl, byte [esp + 0x38]
mov dl, byte [esp + 0x38]
lea esi, [ebp + 0x294]
mov byte [esp + 0x28], 3
mov byte [esi], cl
lea ecx, [esp + 0x34]
mov byte [esi + 1], dl
mov byte [esi + 8], bl
call fcn.100d01e2
mov eax, dword [0x10116cc4]
mov byte [esp + 0x28], 4
cmp eax, ebx
jne 0x10049fa1
push 1
push ebx
mov ecx, esi
call fcn.100512b0
mov dword [0x10116cc4], eax
mov dword [eax], ebx
mov eax, dword [0x10116cc4]
mov dword [eax + 8], ebx
mov ecx, dword [0x10116cc0]
push ebx
inc ecx
mov dword [0x10116cc0], ecx
mov ecx, dword [0x10116cc4]
push ecx
mov ecx, esi
call fcn.100512b0
mov dword [esi + 4], eax
mov dword [esi + 0xc], ebx
mov dword [eax], eax
mov esi, dword [esi + 4]
lea ecx, [esp + 0x34]
mov byte [esp + 0x28], 3
mov dword [esi + 8], esi
call fcn.100d027e
mov dl, byte [esp + 0x38]
mov al, byte [esp + 0x38]
lea ecx, [ebp + 0x2a4]
mov byte [esp + 0x28], 5
mov byte [ecx], dl
mov byte [ecx + 1], al
mov byte [ecx + 8], bl
call fcn.10050b50
mov eax, dword [ebp]
lea edx, [ebp + 4]
push edx
push 0x100fc3e8
mov ecx, dword [eax]
push eax
mov byte [esp + 0x34], 6
call dword [ecx]
push 0xcc
call fcn.100ddb25
add esp, 4
mov dword [esp + 0x34], eax
cmp eax, ebx
mov byte [esp + 0x28], 7
je 0x1004a039
mov esi, dword [esp + 0x38]
push ebx
push esi
push ebp
mov ecx, eax
call fcn.10047530
jmp 0x1004a03f
mov esi, dword [esp + 0x38]
xor eax, eax
push 0xcc
mov byte [esp + 0x2c], 6
mov dword [ebp + 0x240], eax
call fcn.100ddb25
add esp, 4
mov dword [esp + 0x34], eax
cmp eax, ebx
mov byte [esp + 0x28], 8
je 0x1004a074
mov ecx, dword [esp + 0x3c]
push ebx
push ecx
push ebp
mov ecx, eax
call fcn.10047530
jmp 0x1004a076
xor eax, eax
mov ecx, dword [ebp + 0x240]
push edi
mov byte [esp + 0x2c], 6
mov dword [ebp + 0x244], eax
call fcn.10048100
mov ecx, dword [ebp + 0x244]
call fcn.10048100
mov edi, str.courier
or ecx, 0xffffffff
xor eax, eax
mov dl, byte [esp + 0x3c]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
mov edi, ecx
lea ecx, [esp + 0x18]
push edi
mov byte [esp + 0x1c], dl
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x40], edi
call fcn.1000234b
test al, al
je 0x1004a0fa
mov ecx, edi
mov edi, dword [esp + 0x18]
mov eax, ecx
mov esi, str.courier
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, eax
push ecx
lea ecx, [esp + 0x18]
call fcn.100044e0
mov esi, dword [esp + 0x3c]
push ebx
lea edx, [esp + 0x18]
push 0xc
push edx
mov ecx, ebp
mov byte [esp + 0x38], 9
call fcn.1004af00
mov dword [ebp + 0x248], eax
mov eax, dword [esp + 0x18]
cmp eax, ebx
mov byte [esp + 0x2c], 6
je 0x1004a13e
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x1004a135
cmp al, 0xff
je 0x1004a135
dec al
mov byte [ecx], al
jmp 0x1004a13e
push ecx
call fcn.100d0293
add esp, 4
mov eax, dword [ebp + 0x248]
mov ecx, dword [ebp + 0x240]
push eax
call fcn.10047ec0
mov ecx, dword [ebp + 0x248]
push ecx
mov ecx, dword [ebp + 0x244]
call fcn.10047ec0
lea edx, [ebp + 0xfc]
mov ecx, 8
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
mov dword [edx], 0x20
mov eax, dword [esi]
push edx
push esi
call dword [eax + 0x54]
mov eax, dword [esp + 0x40]
lea edi, [ebp + 0x8b4]
cmp esi, eax
mov dword [edi], ebx
je 0x1004a1b5
mov ecx, dword [esi]
push edi
push 0x100fc3b8
push esi
call dword [ecx]
test eax, eax
jl 0x1004a1b5
mov eax, dword [edi]
lea ecx, [ebp + 0x2b4]
push ecx
push ebx
mov edx, dword [eax]
push eax
call dword [edx + 0xc]
test eax, eax
jge 0x1004a1b5
mov dword [edi], ebx
mov eax, dword [edi]
pop edi
cmp eax, ebx
jne 0x1004a1df
lea eax, [ebp + 0x6b4]
mov word [eax - 0x200], bx
mov word [eax], bx
mov word [eax - 0x400], bx
inc ebx
add eax, 2
cmp ebx, 0x100
jl 0x1004a1c2
mov ecx, dword [esp + 0x20]
mov eax, ebp
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0x14