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

Disassembly:
push 0xffffffffffffffff
push 0x45ccc0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x7c
mov eax, dword [0x4774f0]
mov edx, dword [esp + 0x8c]
push ebx
push ebp
push esi
mov dword [esp + 0x84], eax
push edi
xor ebx, ebx
mov edi, 0xf
mov eax, edx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x84], edi
mov dword [esp + 0x80], ebx
mov byte [esp + 0x70], bl
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4107f1
sub eax, esi
push eax
push edx
lea ecx, [esp + 0x74]
call fcn.00403690
push 2
push 0x461424
lea ecx, [esp + 0x3c]
mov dword [esp + 0x9c], ebx
mov dword [esp + 0x54], edi
mov dword [esp + 0x50], ebx
mov byte [esp + 0x40], bl
call fcn.00403690
mov dword [esp + 0x68], edi
mov dword [esp + 0x64], ebx
mov byte [esp + 0x54], bl
mov eax, dword [esp + 0x4c]
mov ebp, 0x10
cmp eax, ebp
mov eax, dword [esp + 0x38]
mov byte [esp + 0x94], 2
jae 0x410851
lea eax, [esp + 0x38]
mov ecx, dword [esp + 0x48]
push ecx
push ebx
push eax
lea ecx, [esp + 0x78]
call fcn.0040e580
mov esi, eax
cmp esi, 0xffffffff
je 0x41097b
lea esp, [esp]
cmp dword [esp + 0x4c], ebp
mov eax, dword [esp + 0x38]
jae 0x41087e
lea eax, [esp + 0x38]
mov edx, dword [esp + 0x48]
push edx
push esi
push eax
lea ecx, [esp + 0x78]
call fcn.00407410
mov edi, eax
cmp edi, 0xffffffff
jne 0x41089c
mov edi, dword [esp + 0x80]
mov eax, edi
sub eax, esi
push eax
push esi
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x78]
call fcn.00407540
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x5c]
mov byte [esp + 0xa0], 3
call fcn.00403490
cmp dword [esp + 0x30], ebp
mov byte [esp + 0x94], 2
jb 0x4108e0
mov edx, dword [esp + 0x1c]
push edx
call fcn.00446038
add esp, 4
cmp dword [esp + 0x4c], ebp
mov eax, dword [esp + 0x38]
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x1c], bl
jae 0x4108fe
lea eax, [esp + 0x38]
mov ecx, dword [esp + 0x48]
push ecx
push edi
push eax
lea ecx, [esp + 0x78]
call fcn.0040e580
push 1
push ebx
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x5c]
mov esi, eax
mov byte [esp + 0x1c], pe_nt_image_headers32
call fcn.00402300
push 1
mov edi, eax
push ebx
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x5c]
mov byte [esp + 0x1c], 0x2e
call fcn.00402300
cmp edi, 0xffffffff
je 0x41096d
cmp eax, 0xffffffff
je 0x41096d
mov ecx, dword [esp + 0x14]
cmp byte [ecx + 0x143], bl
je 0x410960
lea edx, [esp + 0x50]
push edx
call fcn.00410380
jmp 0x41096d
lea eax, [esp + 0x50]
push eax
add ecx, 0x38
call fcn.00407c50
cmp esi, 0xffffffff
jne 0x410870
mov edi, 0xf
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0x3c]
cmp eax, ebx
je 0x4109a3
mov ecx, dword [ecx + 0x40]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 1
jae 0x4109fb
cmp dword [esp + 0x68], ebp
jb 0x4109b6
mov ecx, dword [esp + 0x54]
push ecx
call fcn.00446038
add esp, 4
cmp dword [esp + 0x4c], ebp
mov dword [esp + 0x68], edi
mov dword [esp + 0x64], ebx
mov byte [esp + 0x54], bl
jb 0x4109d5
mov edx, dword [esp + 0x38]
push edx
call fcn.00446038
add esp, 4
cmp dword [esp + 0x84], ebp
mov dword [esp + 0x4c], edi
mov dword [esp + 0x48], ebx
mov byte [esp + 0x38], bl
jb 0x4109f7
mov eax, dword [esp + 0x70]
push eax
call fcn.00446038
add esp, 4
xor al, al
jmp 0x410a51
cmp dword [esp + 0x68], ebp
jb 0x410a0e
mov ecx, dword [esp + 0x54]
push ecx
call fcn.00446038
add esp, 4
cmp dword [esp + 0x4c], ebp
mov dword [esp + 0x68], edi
mov dword [esp + 0x64], ebx
mov byte [esp + 0x54], bl
jb 0x410a2d
mov edx, dword [esp + 0x38]
push edx
call fcn.00446038
add esp, 4
cmp dword [esp + 0x84], ebp
mov dword [esp + 0x4c], edi
mov dword [esp + 0x48], ebx
mov byte [esp + 0x38], bl
jb 0x410a4f
mov eax, dword [esp + 0x70]
push eax
call fcn.00446038
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x8c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x7c]
pop ebx
call fcn.004305ce
add esp, 0x88
ret 4