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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x74
push ebx
push esi
push edi
mov edi, dword [ecx]
mov esi, edx
xor edx, edx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 1
mov eax, dword [edi + 0x78]
mov dword [esp + 0x3c], edx
mov dword [esp + 0x38], edx
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], edx
mov word [esp + 0x4c], dx
cmp dword [edi + 0xc8], 1
mov dword [esp + 0x30], edi
jle 0x1004c106
mov al, byte [esi]
test al, al
je 0x1004c4a5
nop dword [eax]
mov ebx, esi
inc esi
cmp al, 0xa
je 0x1004c07d
mov al, byte [esi]
test al, al
jne 0x1004c072
mov ecx, dword [esp + 0x48]
add ecx, 3
cmp ecx, dword [esp + 0x40]
jb 0x1004c09f
push 3
mov edx, 0x101590b4
lea ecx, [esp + 0x3c]
call fcn.10021050
add esp, 4
jmp 0x1004c0b7
mov ax, word [0x101590b4]
mov dword [esp + 0x48], ecx
mov word [ecx + edx - 3], ax
mov al, byte [0x101590b6]
mov byte [ecx + edx - 1], al
mov edi, dword [esp + 0x48]
mov ecx, esi
sub ecx, ebx
add edi, ecx
cmp edi, dword [esp + 0x40]
jb 0x1004c0d8
push ecx
mov edx, ebx
lea ecx, [esp + 0x3c]
call fcn.10021050
add esp, 4
jmp 0x1004c0f3
test ecx, ecx
je 0x1004c0f3
mov eax, dword [esp + 0x3c]
push ecx
sub eax, ecx
mov dword [esp + 0x4c], edi
add eax, edi
push ebx
push eax
call fcn.1012bff0
add esp, 0xc
mov al, byte [esi]
test al, al
je 0x1004c449
mov edx, dword [esp + 0x3c]
jmp 0x1004c070
cmp word [ecx + 0x10], dx
jne 0x1004c153
test esi, esi
jne 0x1004c126
xor ecx, ecx
mov edx, esi
push ecx
lea ecx, [esp + 0x3c]
call fcn.10021050
add esp, 4
jmp 0x1004c449
mov ecx, esi
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004c130
sub ecx, edx
mov edx, esi
and ecx, 0x3fffffff
push ecx
lea ecx, [esp + 0x3c]
call fcn.10021050
add esp, 4
jmp 0x1004c449
cmp byte [esi], dl
je 0x1004c4a5
nop dword [eax + eax]
xor ebx, ebx
mov edi, esi
mov dword [esp + 0x2c], ebx
nop dword [eax + eax]
lea edx, [esp + 0x28]
mov ecx, edi
call fcn.100ca460
cmp dword [esp + 0x28], 0x9c
je 0x1004c194
add edi, eax
add ebx, eax
cmp byte [edi], 0
jne 0x1004c170
mov edi, dword [esp + 0x2c]
jmp 0x1004c196
mov edi, eax
mov ecx, dword [esp + 0x48]
add ecx, ebx
cmp ecx, dword [esp + 0x40]
jb 0x1004c1b3
push ebx
mov edx, esi
lea ecx, [esp + 0x3c]
call fcn.10021050
add esp, 4
jmp 0x1004c1ce
test ebx, ebx
je 0x1004c1ce
mov eax, dword [esp + 0x3c]
push ebx
sub eax, ebx
mov dword [esp + 0x4c], ecx
add eax, ecx
push esi
push eax
call fcn.1012bff0
add esp, 0xc
add esi, ebx
test edi, edi
je 0x1004c449
cmp byte [esi], 0x3f
jne 0x1004c1fa
cmp edi, 1
jle 0x1004c1f4
lea ecx, [esi + 1]
lea edx, [esp + 0x18]
call fcn.100231a0
mov eax, dword [esp + 0x18]
jmp 0x1004c213
mov eax, dword [esp + 0x1c]
jmp 0x1004c20f
mov ecx, dword [esp + 0x20]
mov edx, esi
push edi
mov ecx, dword [ecx + 0x80]
call fcn.10023ad0
add esp, 4
mov dword [esp + 0x18], eax
lea ecx, [eax + 1]
add esi, edi
cmp ecx, dword [esp + 0x1c]
lea ebx, [eax + eax*4]
mov eax, dword [esp + 0x20]
lea ebx, [ebx - 5]
cmovle ecx, dword [esp + 0x1c]
mov dword [esp + 0x34], esi
mov dword [esp + 0x1c], ecx
mov eax, dword [eax + 0x64]
lea ebx, [eax + ebx*8]
movzx eax, word [ebx + 0x10]
test al, 1
je 0x1004c27b
mov ecx, dword [esp + 0x48]
add ecx, 4
cmp ecx, dword [esp + 0x40]
jb 0x1004c266
push 4
mov edx, str.NULL
lea ecx, [esp + 0x3c]
call fcn.10021050
add esp, 4
jmp 0x1004c440
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x48], ecx
mov dword [eax + ecx - 4], 0x4c4c554e
jmp 0x1004c440
test al, 0x24
je 0x1004c29b
push dword [ebx + 4]
lea eax, [esp + 0x3c]
push dword [ebx]
push 0x101579c0
push eax
call fcn.10021760
add esp, 0x10
jmp 0x1004c440
test al, 8
je 0x1004c2c2
movsd xmm0, qword [ebx]
lea eax, [esp + 0x38]
sub esp, 8
movsd qword [esp], xmm0
push str.__.15g
push eax
call fcn.10021760
add esp, 0x10
jmp 0x1004c440
test al, 2
je 0x1004c386
mov ecx, dword [esp + 0x30]
mov al, byte [ecx + 0x54]
mov byte [esp + 0x24], al
cmp al, 1
je 0x1004c340
xorps xmm0, xmm0
movaps xmmword [esp + 0x60], xmm0
mov dword [esp + 0x64], ecx
lea ecx, [esp + 0x50]
movaps xmmword [esp + 0x50], xmm0
movq qword [esp + 0x70], xmm0
mov eax, dword [ebx + 0xc]
push 0
push dword [esp + 0x28]
cdq
push edx
mov edx, dword [ebx + 8]
push eax
call fcn.10043200
add esp, 0x10
test byte [esp + 0x60], 2
jne 0x1004c319
mov byte [esp + 0x62], 1
jmp 0x1004c33c
cmp byte [esp + 0x62], 1
je 0x1004c33c
mov dl, 1
lea ecx, [esp + 0x50]
call fcn.10021d80
cmp eax, 7
jne 0x1004c33c
mov byte [esp + 0x4c], al
mov dword [esp + 0x40], 0
lea ebx, [esp + 0x50]
push dword [ebx + 8]
lea eax, [esp + 0x3c]
push dword [ebx + 0xc]
push str._.q
push eax
call fcn.10021760
add esp, 0x10
cmp byte [esp + 0x24], 1
je 0x1004c440
test dword [esp + 0x60], 0x9000
jne 0x1004c378
cmp dword [esp + 0x68], 0
je 0x1004c440
lea ecx, [esp + 0x50]
call fcn.10042940
jmp 0x1004c440
test eax, 0x400
je 0x1004c3a6
push dword [ebx]
lea eax, [esp + 0x3c]
push str.zeroblob__d_
push eax
call fcn.10021760
add esp, 0xc
jmp 0x1004c440
mov ecx, dword [esp + 0x48]
add ecx, 2
cmp ecx, dword [esp + 0x40]
jb 0x1004c3c8
push 2
mov edx, 0x101590d0
lea ecx, [esp + 0x3c]
call fcn.10021050
add esp, 4
jmp 0x1004c3da
mov eax, dword [esp + 0x3c]
mov edx, 0x2778
mov dword [esp + 0x48], ecx
mov word [ecx + eax - 2], dx
mov eax, dword [ebx + 0xc]
xor edi, edi
mov dword [esp + 0x2c], eax
test eax, eax
jle 0x1004c413
mov esi, eax
nop dword [eax]
mov eax, dword [ebx + 8]
movzx eax, byte [eax + edi]
push eax
lea eax, [esp + 0x3c]
push str._02x
push eax
call fcn.10021760
inc edi
add esp, 0xc
cmp edi, esi
jl 0x1004c3f0
mov esi, dword [esp + 0x34]
mov ecx, dword [esp + 0x48]
inc ecx
cmp ecx, dword [esp + 0x40]
jb 0x1004c433
push 1
mov edx, 0x101590dc
lea ecx, [esp + 0x3c]
call fcn.10021050
add esp, 4
jmp 0x1004c440
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x48], ecx
mov byte [eax + ecx - 1], 0x27
cmp byte [esi], 0
jne 0x1004c160
cmp byte [esp + 0x4c], 0
je 0x1004c473
test byte [esp + 0x4d], 4
je 0x1004c468
mov edx, dword [esp + 0x3c]
test edx, edx
je 0x1004c468
mov ecx, dword [esp + 0x38]
call fcn.1001e7b0
xor edx, edx
mov eax, edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0x3c]
test edx, edx
je 0x1004c4a5
mov eax, dword [esp + 0x48]
mov byte [eax + edx], 0
cmp dword [esp + 0x44], 0
jbe 0x1004c4a1
test byte [esp + 0x4d], 4
jne 0x1004c4a1
lea ecx, [esp + 0x38]
call fcn.10021130
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0x3c]
pop edi
pop esi
mov eax, edx
pop ebx
mov esp, ebp
pop ebp
ret