Function at 0x10047130
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100f1e62
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov eax, dword [esp + 0x28]
mov dl, byte [esp + 0x30]
push ebx
push ebp
push esi
mov esi, ecx
mov ecx, dword [esp + 0x30]
mov dword [esi], eax
mov al, byte [esp + 0x3c]
mov dword [esi + 0x23c], ecx
xor ebx, ebx
lea ecx, [esi + 0x24c]
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x248], ebx
push edi
mov dword [esp + 0x10], esi
mov byte [ecx], dl
mov byte [ecx + 1], al
mov byte [ecx + 8], bl
call fcn.1004b510
mov dl, byte [esp + 0x40]
mov al, byte [esp + 0x40]
lea ecx, [esi + 0x25c]
mov dword [esp + 0x2c], ebx
mov byte [ecx], dl
mov byte [ecx + 1], al
mov byte [ecx + 8], bl
call fcn.1004bc50
mov dl, byte [esp + 0x40]
mov al, byte [esp + 0x40]
lea ecx, [esi + 0x26c]
mov byte [esp + 0x2c], 1
mov byte [ecx], dl
mov byte [ecx + 1], al
mov byte [ecx + 8], bl
call fcn.1004c3b0
mov dl, byte [esp + 0x40]
mov al, byte [esp + 0x40]
lea ecx, [esi + 0x27c]
mov byte [esp + 0x2c], 2
mov byte [ecx], dl
mov byte [ecx + 1], al
mov byte [ecx + 8], bl
call fcn.1004cb10
mov dl, byte [esp + 0x40]
mov al, byte [esp + 0x40]
lea ecx, [esi + 0x28c]
mov byte [esp + 0x2c], 3
mov byte [ecx], dl
mov byte [ecx + 1], al
mov byte [ecx + 8], bl
call fcn.1004d250
mov cl, byte [esp + 0x40]
mov dl, byte [esp + 0x40]
lea edi, [esi + 0x29c]
push 1
mov byte [edi], cl
push ebx
mov ecx, edi
mov byte [esp + 0x34], 4
mov byte [edi + 1], dl
mov byte [edi + 8], bl
call fcn.1004e2a0
lea ecx, [esp + 0x38]
mov ebp, eax
call fcn.1008d17b
cmp dword [0x1011f864], ebx
jne 0x10047255
mov eax, ebp
mov dword [0x1011f864], eax
mov dword [eax], ebx
mov eax, dword [0x1011f864]
xor ebp, ebp
mov dword [eax + 8], ebx
inc dword [0x1011f860]
lea ecx, [esp + 0x38]
call fcn.1008d217
cmp ebp, ebx
je 0x10047271
push ebp
call fcn.1008d22c
add esp, 4
mov ecx, dword [0x1011f864]
push ebx
push ecx
mov ecx, edi
call fcn.1004e2a0
mov dword [edi + 4], eax
mov dword [edi + 0xc], ebx
mov dword [eax], eax
mov edi, dword [edi + 4]
mov dword [edi + 8], edi
mov eax, dword [esi]
mov edx, dword [eax]
lea ecx, [esi + 4]
push ecx
push 0x100f76d0
push eax
mov byte [esp + 0x38], 5
call dword [edx]
push 0x144
call fcn.1009a535
add esp, 4
mov dword [esp + 0x34], eax
cmp eax, ebx
mov ebp, dword [esp + 0x3c]
mov byte [esp + 0x2c], 6
je 0x100472cd
push ebx
push ebp
push esi
mov ecx, eax
call fcn.10044a00
jmp 0x100472cf
xor eax, eax
push 0x144
mov byte [esp + 0x30], 5
mov dword [esi + 0x240], eax
call fcn.1009a535
add esp, 4
mov dword [esp + 0x34], eax
cmp eax, ebx
mov byte [esp + 0x2c], 7
je 0x10047304
mov edx, dword [esp + 0x40]
push ebx
push edx
push esi
mov ecx, eax
call fcn.10044a00
jmp 0x10047306
xor eax, eax
mov ecx, dword [esi + 0x240]
mov byte [esp + 0x2c], 5
mov dword [esi + 0x244], eax
call fcn.100454e0
mov ecx, dword [esi + 0x244]
call fcn.100454e0
mov al, byte [esp + 0x40]
or ecx, 0xffffffff
mov byte [esp + 0x14], al
xor eax, eax
mov edi, str.courier
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.courier
lea ecx, [esp + 0x1c]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
call fcn.100021ff
push ebx
push 0xc
lea ecx, [esp + 0x1c]
push ecx
mov ecx, esi
mov byte [esp + 0x38], 8
call fcn.10048880
mov dword [esi + 0x248], eax
mov eax, dword [esp + 0x18]
cmp eax, ebx
mov byte [esp + 0x2c], 5
je 0x1004739c
lea ecx, [eax - 1]
mov al, byte [ecx]
cmp al, bl
je 0x10047393
cmp al, 0xff
je 0x10047393
dec al
mov byte [ecx], al
jmp 0x1004739c
push ecx
call fcn.1008d22c
add esp, 4
mov edx, dword [esi + 0x248]
mov ecx, dword [esi + 0x240]
push edx
call fcn.100452b0
mov eax, dword [esi + 0x248]
mov ecx, dword [esi + 0x244]
push eax
call fcn.100452b0
lea edx, [esi + 0xfc]
xor eax, eax
mov edi, edx
mov ecx, 8
rep stosd dword es:[edi], eax
push edx
mov dword [edx], 0x20
mov ecx, dword [ebp]
push ebp
call dword [ecx + 0x54]
cmp ebp, dword [esp + 0x40]
lea edi, [esi + 0x8ac]
mov dword [edi], ebx
je 0x10047413
mov edx, dword [ebp]
push edi
push 0x100f76a0
push ebp
call dword [edx]
test eax, eax
jl 0x10047413
mov eax, dword [edi]
mov ecx, dword [eax]
lea edx, [esi + 0x2ac]
push edx
push ebx
push eax
call dword [ecx + 0xc]
test eax, eax
jge 0x10047413
mov dword [edi], ebx
cmp dword [edi], ebx
jne 0x1004743a
lea eax, [esi + 0x6ac]
mov word [eax - 0x200], bx
mov word [eax], bx
mov word [eax - 0x400], bx
inc ebx
add eax, 2
cmp ebx, 0x100
jl 0x1004741d
mov ecx, dword [esp + 0x24]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0x14