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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3c
mov eax, dword [0x1040e140]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
mov ebx, ecx
mov dword [esp + 0x28], edx
push esi
push edi
mov eax, dword [ebx + 0x44]
mov ecx, dword [ebx + 0x40]
sub eax, ecx
sar eax, 3
lea edx, [eax - 1]
cmp edx, eax
jae 0x1004cc36
lea eax, [ecx + edx*8]
test eax, eax
jne 0x1004cc3b
mov eax, 0x1036ebc4
mov ecx, 0xfff8
cmp word [eax + 6], cx
jne 0x1004cddd
mov eax, dword [eax]
mov dword [esp + 0x18], eax
test eax, eax
je 0x1004cddd
mov esi, dword [eax + 0x14]
mov ecx, ebx
push 1
mov edx, esi
call fcn.10051880
mov eax, dword [ebx + 0x44]
add esp, 4
mov ecx, dword [esp + 0x18]
mov edx, dword [eax - 8]
mov dword [esp + 0x40], edx
mov edi, dword [edx + 0x14]
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
lea eax, [edi + esi]
lea esi, [ecx + 0x1c]
mov dword [esp + 0x3c], eax
mov ecx, dword [ecx + 0x14]
add ecx, esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x18], esi
or esi, 0xffffffff
mov dword [esp + 0x24], ecx
or ecx, esi
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
nop word [eax + eax]
mov dword [esp + 0x20], esi
mov esi, ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x1c], 0xffffffff
cmp dword [esp + 0x18], ecx
jae 0x1004ccfc
lea eax, [esp + 0x2c]
push eax
push ecx
push dword [esp + 0x30]
lea edx, [esp + 0x24]
call fcn.1004c660
add esp, 0xc
test eax, eax
je 0x1004cdf0
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x1c], ecx
test esi, esi
js 0x1004ccb0
jmp 0x1004cd00
test esi, esi
js 0x1004cd76
sub eax, edi
cmp eax, 0x38
jae 0x1004cd48
sub edi, dword [esp + 0x38]
mov ecx, ebx
mov eax, edi
shr eax, 2
add eax, 0x78
add eax, edi
mov dword [esp + 0x10], eax
cmp eax, edi
jb 0x1004ce01
push eax
call fcn.1006cca0
mov ecx, dword [esp + 0x18]
add esp, 4
mov ecx, dword [ecx + 0x14]
mov dword [esp + 0x38], ecx
lea eax, [ecx + edi]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x10]
add eax, ecx
mov dword [esp + 0x3c], eax
push dword [esp + 0x30]
lea edx, [esp + 0x38]
push dword [esp + 0x20]
push dword [esp + 0x28]
push esi
call fcn.1004ca60
mov edx, dword [esp + 0x50]
add esp, 0x10
mov eax, dword [esp + 0x3c]
mov edi, dword [esp + 0x34]
mov ecx, dword [esp + 0x1c]
jmp 0x1004cca2
sub edi, dword [esp + 0x38]
mov ecx, ebx
push edi
call fcn.1006cca0
mov eax, dword [ebx + 0x44]
add esp, 4
sub eax, dword [ebx + 0x40]
mov ecx, ebx
sar eax, 3
lea esi, [eax - 1]
cmp esi, eax
jae 0x1004ce12
lea eax, [esp + 0x20]
mov edx, esi
push eax
call fcn.1004f6c0
add esp, 4
mov edx, eax
mov ecx, ebx
push dword [esp + 0x20]
call fcn.10050db0
add esp, 4
mov edx, esi
mov ecx, ebx
call fcn.1004f3a0
mov edx, 0xfffffffe
mov ecx, ebx
call fcn.1004f4f0
mov ecx, dword [esp + 0x44]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.102e0890
mov esp, ebp
pop ebp
ret
push str.string
push 0xffffffffffffffff
push 0x85e
mov ecx, ebx
call fcn.1004c3e0
push 0x11a
mov edx, str.C:UsersowenDesktopjre.codesduk_unicode_support.c
mov ecx, ebx
call fcn.1004c420
push str.buffer_too_long
push 0x47
mov edx, str.C:UsersowenDesktopjre.codesduk_util_bufwriter.c
call fcn.1004c480
push 0xffffffffffffffff
push 0x12c
call fcn.1004c4a0
int3