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

Disassembly:
push 0x74
mov eax, 0x1106533
call fcn.0106f6be
mov eax, dword [ebp + 8]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp + 0x20]
mov ebx, ecx
mov dword [ebp - 0x6c], eax
mov eax, dword [0x111124c]
cmp eax, 0x111124c
je 0x104cf20
test byte [eax + 0x1c], 1
je 0x104cf20
cmp byte [eax + 0x19], 4
jb 0x104cf20
push 0x1004710
push 0x24
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010189d0
mov eax, 0x100cbcc
mov esi, eax
lea edi, [ebp - 0x20]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
and dword [ebp - 0x58], 0
and dword [ebp - 0x50], 0
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, eax
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov byte [ebp - 0x70], 0
mov byte [ebp - 0x35], 0
mov dword [ebx + 0xa4], 1
mov eax, dword [0x111124c]
cmp eax, 0x111124c
je 0x104cf7c
test byte [eax + 0x1c], 1
je 0x104cf7c
cmp byte [eax + 0x19], 4
jb 0x104cf7c
push ebx
push 0x1004710
push 0x25
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010189f6
push 0
push dword [ebp - 0x60]
lea ecx, [ebx + 4]
call fcn.01018bd1
mov esi, eax
test esi, esi
jge 0x104cfcb
mov eax, dword [0x111124c]
cmp eax, 0x111124c
je 0x104d798
test byte [eax + 0x1c], 1
je 0x104d798
cmp byte [eax + 0x19], 2
jb 0x104d798
push esi
push 0x1004710
push 0x26
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010189f6
jmp 0x104d798
mov eax, dword [ebp - 0x34]
mov esi, eax
lea edi, [ebx + 0x78]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ecx, dword [eax + 0x14]
mov dword [ebx + 0xbc], ecx
mov ax, word [eax + 0x3c]
mov word [ebx + 0xdc], ax
mov al, byte [ebp + 0x2c]
lea ecx, [ebx + 0x10]
mov byte [ebx + 0xf4], al
call fcn.010d18e9
mov esi, eax
test esi, esi
jl 0x104d798
lea edi, [ebx + 0xc8]
push edi
lea eax, [ebx + 0x10]
push eax
push dword [ebp - 0x4c]
call fcn.010de3ca
mov esi, eax
test esi, esi
jge 0x104d02c
lea ecx, [ebx + 0x10]
call fcn.0103bc89
jmp 0x104d798
cmp dword [edi], 4
je 0x104d039
lea ecx, [ebx + 0x10]
call fcn.0103bc89
push dword [edi]
call fcn.01083215
cmp dword [ebp - 0x4c], 0
mov dword [ebx + 0xcc], eax
jne 0x104d060
push 0x1002618
push 0x3f8
push 0x1004728
call fcn.0107b4be
push 0
lea eax, [ebx + 0x8c]
push eax
push dword [ebp - 0x4c]
call fcn.0107c871
mov esi, eax
test esi, esi
jl 0x104d798
push 0
lea eax, [ebx + 0x88]
push eax
mov eax, dword [ebp - 0x34]
push dword [eax + 0x64]
call fcn.0107c871
mov esi, eax
test esi, esi
jl 0x104d798
cmp dword [ebx + 0xc8], 4
jne 0x104d0bc
push 0
push dword [ebx + 0x8c]
lea ecx, [ebx + 4]
call fcn.01018a47
mov esi, eax
test esi, esi
jl 0x104d798
test dword [ebx + 0xcc], 0x200
jne 0x104d173
lea eax, [ebx + 0x74]
push eax
lea edi, [ebx + 0x94]
push edi
lea eax, [ebx + 0x90]
push eax
lea eax, [ebx + 0x10]
push eax
push dword [ebp - 0x34]
push 1
push dword [ebp - 0x4c]
call fcn.010e0cb6
mov esi, eax
test esi, esi
jl 0x104d798
push 0
lea ecx, [ebx + 0x10]
call fcn.010d19c5
mov esi, eax
test esi, esi
jl 0x104d798
lea eax, [ebx + 0x98]
push eax
mov eax, dword [ebp - 0x34]
push dword [eax + 0x64]
push dword [edi]
call fcn.010de312
mov esi, eax
test esi, esi
jge 0x104d16b
mov eax, dword [0x111124c]
cmp eax, 0x111124c
je 0x104d798
test byte [eax + 0x1c], 1
je 0x104d798
cmp byte [eax + 0x19], 2
jb 0x104d798
mov ecx, dword [ebp - 0x34]
push esi
push dword [ecx + 0x64]
push dword [edi]
push 0x1004710
push 0x27
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01019a40
jmp 0x104d798
lea ecx, [ebx + 0x10]
call fcn.010d1b11
xor edi, edi
cmp dword [ebp + 0x14], edi
jne 0x104d184
mov esi, 0x80780010
jmp 0x104d798
lea eax, [ebx + 0x78]
push eax
mov ecx, ebx
call fcn.0104c2cf
mov esi, eax
cmp esi, edi
jge 0x104d1c6
mov eax, dword [0x111124c]
cmp eax, 0x111124c
je 0x104d798
test byte [eax + 0x1c], 1
je 0x104d798
cmp byte [eax + 0x19], 2
jb 0x104d798
push esi
push 0x1004710
push 0x28
jmp 0x104cfbb
mov dword [ebp - 0x44], edi
cmp dword [ebp + 0x14], edi
jbe 0x104d2c4
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x34]
xor edi, edi
xor esi, esi
cmp dword [eax + 0x2c], edi
jbe 0x104d224
mov dword [ebp - 0x3c], edi
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0x30]
mov ecx, dword [ebp - 0x3c]
add eax, ecx
mov ecx, dword [ebp - 0x48]
push dword [ecx]
push dword [ebp - 0x40]
push dword [eax + 0x10]
push eax
call fcn.0107e0e9
test al, al
mov eax, dword [ebp - 0x34]
jne 0x104d21c
add dword [ebp - 0x3c], 0x70
inc edi
cmp edi, dword [eax + 0x2c]
jb 0x104d1ed
jmp 0x104d224
mov esi, edi
imul esi, esi, 0x70
add esi, dword [eax + 0x30]
mov eax, dword [ebp - 0x34]
cmp edi, dword [eax + 0x2c]
je 0x104d316
test esi, esi
jne 0x104d248
push 0x1002e44
push 0x45f
push 0x1004728
call fcn.0107b4be
cmp byte [esi + 0x20], 0
jne 0x104d262
push 0x1004960
push 0x460
push 0x1004728
call fcn.0107b4be
and dword [ebp - 0x3c], 0
cmp dword [ebx + 0xac], 0
jbe 0x104d2a2
xor edi, edi
mov ecx, dword [ebp - 0x48]
push dword [ecx]
mov eax, dword [ebx + 0xb0]
push dword [ebp - 0x40]
add eax, edi
push dword [eax + 0x3c]
add eax, 0x2c
push eax
call fcn.0107e0e9
test al, al
jne 0x104d2a2
inc dword [ebp - 0x3c]
mov eax, dword [ebp - 0x3c]
add edi, 0x6c
cmp eax, dword [ebx + 0xac]
jb 0x104d271
mov eax, dword [ebp - 0x3c]
cmp eax, dword [ebx + 0xac]
je 0x104d320
inc dword [ebp - 0x44]
mov eax, dword [ebp - 0x44]
add dword [ebp - 0x48], 4
add dword [ebp - 0x40], 0x10
cmp eax, dword [ebp + 0x14]
jb 0x104d1de
mov eax, dword [ebp + 0x14]
xor ecx, ecx
mov edx, 0x98
mul edx
seto cl
neg ecx
or ecx, eax
xor eax, eax
add ecx, 4
setb al
neg eax
or eax, ecx
push eax
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov dword [ebp - 0x54], eax
xor edi, edi
mov dword [ebp - 4], edi
cmp eax, edi
je 0x104d35a
mov ecx, dword [ebp + 0x14]
push fcn.0104c466
push 0x104b90a
push ecx
lea esi, [eax + 4]
push 0x98
push esi
mov dword [eax], ecx
call fcn.0106f9c9
jmp 0x104d35c
mov esi, 0x80780041
jmp 0x104d798
mov eax, dword [0x111124c]
cmp eax, 0x111124c
je 0x104d350
test byte [eax + 0x1c], 1
je 0x104d350
cmp byte [eax + 0x19], 2
jb 0x104d350
push dword [esi + 0x1c]
push dword [esi + 0x18]
push 0x1004710
push 0x29
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01019979
mov esi, 0x80780001
jmp 0x104d798
xor esi, esi
or dword [ebp - 4], 0xffffffff
mov dword [ebx + 0x9c], esi
cmp esi, edi
jne 0x104d374
mov esi, 0x8007000e
jmp 0x104d798
mov dword [ebp - 0x44], edi
cmp dword [ebx + 0xac], edi
jbe 0x104d5be
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x48], edi
mov ecx, dword [ebp - 0x48]
mov eax, dword [ebx + 0xb0]
and dword [ebp - 0x3c], 0
add eax, ecx
push 4
pop ecx
mov edi, 0x100cbcc
lea esi, [eax + 0x2c]
xor edx, edx
repe cmpsd dword [esi], dword es:[edi]
jne 0x104d3c9
push dword [eax + 0x3c]
call fcn.0107db82
test al, al
jne 0x104d3c9
push 0x1004900
push 0x491
push 0x1004728
call fcn.0107b4be
mov eax, dword [ebx + 0xb0]
mov ecx, dword [ebp - 0x48]
push dword [ebp - 0x50]
add eax, ecx
lea ecx, [ebp - 0x20]
push ecx
push dword [eax + 0x3c]
add eax, 0x2c
push eax
call fcn.0107e0e9
test al, al
jne 0x104d5a6
mov eax, dword [ebx + 0xb0]
mov ecx, dword [ebp - 0x48]
add eax, ecx
lea esi, [eax + 0x2c]
lea edi, [ebp - 0x20]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [eax + 0x3c]
xor edi, edi
mov dword [ebp - 0x50], eax
cmp edi, dword [ebp + 0x14]
jae 0x104d437
mov esi, dword [ebp - 0x64]
push dword [ebp - 0x50]
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x68]
push dword [eax + edi*4]
push esi
call fcn.0107e0e9
test al, al
jne 0x104d434
inc edi
add esi, 0x10
cmp edi, dword [ebp + 0x14]
jb 0x104d414
cmp edi, dword [ebp + 0x14]
je 0x104d5a6
mov eax, dword [ebp - 0x34]
xor esi, esi
cmp dword [eax + 0x2c], esi
jbe 0x104d483
mov dword [ebp - 0x40], esi
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0x30]
mov ecx, dword [ebp - 0x40]
push dword [ebp - 0x50]
add eax, ecx
lea ecx, [ebp - 0x20]
push ecx
push dword [eax + 0x10]
push eax
call fcn.0107e0e9
test al, al
mov eax, dword [ebp - 0x34]
jne 0x104d478
add dword [ebp - 0x40], 0x70
inc esi
cmp esi, dword [eax + 0x2c]
jb 0x104d44a
jmp 0x104d483
imul esi, esi, 0x70
add esi, dword [eax + 0x30]
mov dword [ebp - 0x3c], esi
jne 0x104d497
push 0x1002e44
push 0x4c2
push 0x1004728
call fcn.0107b4be
mov eax, dword [ebp - 0x3c]
cmp byte [eax + 0x20], 0
jne 0x104d4b4
push 0x1004960
push 0x4c3
push 0x1004728
call fcn.0107b4be
mov edx, dword [ebp - 0x6c]
mov ecx, dword [ebx + 0x9c]
add ecx, dword [ebp - 0x5c]
mov eax, edi
shl eax, 4
lea esi, [eax + edx]
mov eax, dword [ebp + 0x24]
push ebx
push dword [eax + edi*4]
mov dword [ebp - 0x54], esi
sub esp, 0x10
mov edi, esp
push dword [ebp - 0x3c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x40], ecx
movsd dword es:[edi], dword [esi]
call fcn.0104c6e1
mov esi, eax
test esi, esi
jl 0x104d5d4
cmp dword [ebx + 0xc8], 4
je 0x104d55d
mov eax, dword [ebp - 0x40]
push dword [eax + 0x4c]
call fcn.0107db82
test al, al
jne 0x104d55d
mov byte [ebp - 0x35], al
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x4c]
call fcn.0107df18
mov esi, eax
test esi, esi
jl 0x104d616
mov esi, dword [ebp - 0x54]
lea edx, [ebp - 0x35]
push edx
sub esp, 0x10
mov edi, esp
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x60]
movsd dword es:[edi], dword [esi]
mov ecx, dword [eax]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
sub esp, 0x10
mov edi, esp
lea esi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push eax
movsd dword es:[edi], dword [esi]
call dword [ecx + 0x88]
mov esi, eax
test esi, esi
jl 0x104d647
cmp byte [ebp - 0x35], 0
je 0x104d678
mov esi, dword [ebp - 0x40]
mov eax, dword [esi + 0x4c]
test al, 2
je 0x104d59c
push eax
call fcn.0107db82
test al, al
lea eax, [ebx + 0x138]
push eax
jne 0x104d582
push dword [esi + 0x68]
call fcn.0107d073
jmp 0x104d592
mov eax, dword [ebp - 0x3c]
movzx ecx, word [eax + 0x3c]
push ecx
push dword [eax + 0x40]
call fcn.010e627f
mov esi, eax
test esi, esi
jl 0x104d798
inc dword [ebp - 0x58]
add dword [ebp - 0x5c], 0x98
inc dword [ebp - 0x44]
mov eax, dword [ebp - 0x44]
add dword [ebp - 0x48], 0x6c
cmp eax, dword [ebx + 0xac]
jb 0x104d389
xor edi, edi
mov esi, dword [ebp - 0x58]
cmp esi, dword [ebp + 0x14]
jae 0x104d6b8
mov esi, 0x80780088
jmp 0x104d798
mov eax, dword [0x111124c]
cmp eax, 0x111124c
je 0x104d798
test byte [eax + 0x1c], 1
je 0x104d798
cmp byte [eax + 0x19], 2
jb 0x104d798
mov ecx, dword [ebp - 0x3c]
push esi
push dword [ecx + 0x18]
push 0x1004710
push 0x2a
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010196ed
jmp 0x104d798
mov eax, dword [0x111124c]
cmp eax, 0x111124c
je 0x104d798
test byte [eax + 0x1c], 1
je 0x104d798
cmp byte [eax + 0x19], 2
jb 0x104d798
push esi
push 0x1004710
push 0x2b
jmp 0x104cfbb
mov eax, dword [0x111124c]
cmp eax, 0x111124c
je 0x104d798
test byte [eax + 0x1c], 1
je 0x104d798
cmp byte [eax + 0x19], 2
jb 0x104d798
push esi
push 0x1004710
push 0x2c
jmp 0x104cfbb
mov esi, 0x80780153
mov eax, dword [0x111124c]
cmp eax, 0x111124c
je 0x104d798
test byte [eax + 0x1c], 1
je 0x104d798
cmp byte [eax + 0x19], 2
jb 0x104d798
push 0x1004710
push 0x2d
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010189d0
jmp 0x104d798
je 0x104d6ce
push 0x10048d8
push 0x522
push 0x1004728
call fcn.0107b4be
lea eax, [ebp - 0x80]
push eax
mov dword [ebx + 0xd0], esi
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
lea eax, [ebx + 0xe0]
push eax
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
test eax, eax
jne 0x104d710
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, edi
jle 0x104d796
and eax, 0xffff
or eax, 0x80070000
jmp 0x104d796
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax + 0x40]
mov dword [ebx + 0xc0], ecx
mov ecx, dword [eax + 0x44]
mov dword [ebx + 0xc4], ecx
mov dword [ebp - 0x44], edi
cmp dword [ebp + 0x14], edi
jbe 0x104d762
mov eax, dword [ebp - 0x64]
mov edx, dword [ebp - 0x6c]
sub edx, eax
mov dword [ebp - 0x54], edx
jmp 0x104d73d
mov edx, dword [ebp - 0x54]
push 4
lea edi, [edx + eax]
pop ecx
mov esi, eax
xor edx, edx
repe cmpsd dword [esi], dword es:[edi]
jne 0x104d75b
inc dword [ebp - 0x44]
mov ecx, dword [ebp - 0x44]
add eax, 0x10
cmp ecx, dword [ebp + 0x14]
jb 0x104d73a
jmp 0x104d75f
mov byte [ebp - 0x70], 1
mov eax, dword [ebp - 0x34]
push dword [ebp - 0x70]
lea ecx, [ebx + 0xe0]
push dword [ecx + 4]
push dword [ecx]
push dword [eax + 0x44]
push dword [eax + 0x40]
lea eax, [ebx + 0xf8]
push dword [ebx + 0x8c]
push dword [ebp + 0x30]
push dword [ebx + 0xc8]
push 2
push dword [ebp - 0x60]
push eax
call fcn.010e8611
mov esi, eax
lea ecx, [ebx + 0x10]
call fcn.010d1b11
test esi, esi
jge 0x104d7cf
mov eax, dword [0x111124c]
cmp eax, 0x111124c
je 0x104d7f9
test byte [eax + 0x1c], 1
je 0x104d7d4
cmp byte [eax + 0x19], 2
jb 0x104d7d4
push esi
push 0x1004710
push 0x2e
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010189f6
mov eax, dword [0x111124c]
cmp eax, 0x111124c
je 0x104d7f9
test byte [eax + 0x1c], 1
je 0x104d7f9
cmp byte [eax + 0x19], 4
jb 0x104d7f9
push 0x1004710
push 0x2f
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010189d0
mov eax, esi
call fcn.0106f750
ret 0x2c