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

Disassembly:
push 0xffffffffffffffff
push 0x4f7c16
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa4
push ebx
push ebp
mov ebx, ecx
push esi
lea ecx, [esp + 0x30]
call fcn.0041c050
xor ebp, ebp
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], ebp
push 1
lea eax, [esp + 0x10]
push eax
lea ecx, [ebx + 0xd0]
mov dword [esp + 0xc0], ebp
push ecx
lea esi, [esp + 0x3c]
mov dword [esp + 0x18], 0xa
call fcn.00419490
mov eax, dword [esp + 0x44]
add esp, 0xc
cmp eax, ebp
jne 0x41b1f2
lea ecx, [esp + 0x30]
call fcn.0041bc70
mov edx, dword [esp + 0x34]
push edx
call fcn.004c2c15
add esp, 4
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xa4]
mov dword fs:[0], ecx
add esp, 0xb0
ret
lea esi, [ebx + 0xb0]
push edi
mov ecx, esi
call fcn.0041bc70
mov dword [esp + 0x58], 7
mov dword [esp + 0x54], ebp
mov word [esp + 0x44], bp
mov byte [esp + 0xbc], 1
mov edi, dword [esp + 0x38]
mov eax, dword [edi]
cmp eax, edi
mov dword [esp + 0x10], eax
je 0x41b5b4
jmp 0x41b231
mov eax, dword [esp + 0x10]
push 0xffffffffffffffff
add eax, 8
push ebp
push eax
lea ecx, [esp + 0x4c]
call fcn.00404f80
mov eax, dword [ebx + 0x4c]
mov ecx, dword [ebx + 0xcc]
mov edx, dword [ecx]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x40]
push eax
call dword [edx + 0x20]
cmp eax, dword [esp + 0x14]
jle 0x41b559
push 0xffffffffffffffff
push ebp
lea ecx, [esp + 0x48]
push ecx
lea ecx, [esp + 0x24]
mov dword [esp + 0x3c], 7
mov dword [esp + 0x38], ebp
mov word [esp + 0x28], bp
call fcn.00404f80
mov byte [esp + 0xbc], 2
mov edx, dword [ebx]
mov esi, dword [esp + 0x54]
mov ecx, ebx
call dword [edx + 0x80]
mov edx, dword [eax]
lea ecx, [esp + 0x18]
push ecx
mov ecx, eax
call dword [edx + 0x20]
mov ecx, dword [ebx + 0x4c]
cmp eax, ecx
jle 0x41b4f2
jmp 0x41b2b5
xor ebp, ebp
cmp eax, ecx
jle 0x41b342
mov dword [esp + 0x14], 0x20
lea eax, [esp + 0x14]
lea edx, [esi - 1]
push eax
mov edi, 1
lea ecx, [esp + 0x1c]
call fcn.0041bf70
mov esi, eax
cmp esi, 0xffffffff
je 0x41b34b
push esi
push ebp
lea ecx, [esp + 0x68]
push ecx
lea ecx, [esp + 0x4c]
call fcn.0041bbf0
mov edi, eax
mov byte [esp + 0xbc], 3
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0x80]
mov edx, dword [eax]
push edi
mov ecx, eax
call dword [edx + 0x20]
mov edi, eax
mov byte [esp + 0xbc], 2
cmp dword [esp + 0x78], 8
jb 0x41b32c
mov eax, dword [esp + 0x64]
push eax
call fcn.004c2c15
add esp, 4
cmp edi, dword [ebx + 0x4c]
mov dword [esp + 0x78], 7
mov dword [esp + 0x74], ebp
mov word [esp + 0x64], bp
jg 0x41b2c5
cmp esi, 0xffffffff
jne 0x41b3e0
mov edi, dword [ebx + 0xb4]
mov edx, dword [edi + 4]
lea esi, [ebx + 0xb0]
lea ecx, [esp + 0x18]
push ecx
push edx
push edi
mov ecx, esi
call fcn.0041c400
push 1
mov ecx, esi
mov ebp, eax
call fcn.0041c4a0
mov dword [edi + 4], ebp
mov eax, dword [ebp + 4]
mov dword [eax], ebp
mov eax, dword [esp + 0x30]
cmp eax, 8
mov esi, dword [esp + 0x1c]
mov ecx, esi
jae 0x41b38e
lea ecx, [esp + 0x1c]
cmp eax, 8
mov edx, dword [esp + 0x2c]
lea ecx, [ecx + edx*2]
mov edx, esi
jae 0x41b3a2
lea edx, [esp + 0x1c]
mov esi, edx
test edx, edx
jne 0x41b3aa
xor eax, eax
jmp 0x41b3b0
mov eax, edx
sub eax, esi
sar eax, 1
test ecx, ecx
jne 0x41b3c8
push ecx
push eax
lea ecx, [esp + 0x20]
call fcn.00405480
xor esi, esi
xor eax, eax
jmp 0x41b4e7
sub ecx, edx
sar ecx, 1
push ecx
push eax
lea ecx, [esp + 0x20]
call fcn.00405480
xor esi, esi
xor eax, eax
jmp 0x41b4e7
push esi
push ebp
lea eax, [esp + 0x84]
push eax
lea ecx, [esp + 0x24]
call fcn.0041bbf0
mov byte [esp + 0xbc], 4
mov edi, dword [ebx + 0xb4]
mov edx, dword [edi + 4]
lea ecx, [ebx + 0xb0]
push eax
push edx
push edi
call fcn.0041c400
push 1
lea ecx, [ebx + 0xb0]
mov ebp, eax
call fcn.0041c4a0
mov dword [edi + 4], ebp
mov eax, dword [ebp + 4]
mov dword [eax], ebp
mov byte [esp + 0xbc], 2
cmp dword [esp + 0x94], 8
jb 0x41b44b
mov eax, dword [esp + 0x80]
push eax
call fcn.004c2c15
add esp, 4
mov ecx, dword [esp + 0x2c]
xor edi, edi
push ecx
inc esi
push esi
lea edx, [esp + 0xa0]
mov ebp, 7
push edx
lea ecx, [esp + 0x24]
mov dword [esp + 0xa0], ebp
mov dword [esp + 0x9c], edi
mov word [esp + 0x8c], di
call fcn.0041bbf0
push 0xffffffffffffffff
push edi
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0xc8], 5
call fcn.00404f80
mov byte [esp + 0xbc], 2
cmp dword [esp + 0xb0], 8
jb 0x41b4b7
mov eax, dword [esp + 0x9c]
push eax
call fcn.004c2c15
add esp, 4
mov edx, dword [ebx]
mov esi, dword [esp + 0x2c]
mov ecx, ebx
mov dword [esp + 0xb0], ebp
mov dword [esp + 0xac], edi
mov word [esp + 0x9c], di
call dword [edx + 0x80]
mov edx, dword [eax]
lea ecx, [esp + 0x18]
push ecx
mov ecx, eax
call dword [edx + 0x20]
mov ecx, dword [ebx + 0x4c]
cmp eax, ecx
jg 0x41b2b3
mov edi, dword [ebx + 0xb4]
mov eax, dword [edi + 4]
lea esi, [ebx + 0xb0]
lea edx, [esp + 0x18]
push edx
push eax
push edi
mov ecx, esi
call fcn.0041c400
push 1
mov ecx, esi
mov ebp, eax
call fcn.0041c4a0
mov dword [edi + 4], ebp
mov eax, dword [ebp + 4]
mov dword [eax], ebp
mov byte [esp + 0xbc], 1
cmp dword [esp + 0x30], 8
jb 0x41b53e
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.004c2c15
add esp, 4
mov edi, dword [esp + 0x38]
xor eax, eax
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], eax
mov word [esp + 0x1c], ax
xor ebp, ebp
jmp 0x41b58e
mov eax, dword [esi + 4]
mov ecx, dword [eax + 4]
lea edx, [esp + 0x40]
push edx
push ecx
push eax
mov ecx, esi
mov dword [esp + 0x68], eax
call fcn.0041c400
push 1
mov ecx, esi
mov dword [esp + 0x18], eax
call fcn.0041c4a0
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x5c]
mov dword [edx + 4], eax
mov ecx, dword [eax + 4]
mov dword [ecx], eax
mov edx, dword [esp + 0x10]
mov eax, dword [edx]
cmp eax, edi
mov dword [esp + 0x10], eax
jne 0x41b22d
cmp dword [esp + 0x58], 8
jb 0x41b5b4
mov eax, dword [esp + 0x44]
push eax
call fcn.004c2c15
add esp, 4
mov dword [esp + 0x58], 7
mov dword [esp + 0x54], ebp
mov word [esp + 0x44], bp
mov esi, dword [edi]
cmp esi, edi
mov dword [edi], edi
mov dword [edi + 4], edi
je 0x41b601
cmp dword [esi + 0x20], 8
mov ebx, dword [esi]
jb 0x41b5e4
mov ecx, dword [esi + 0xc]
push ecx
call fcn.004c2c15
add esp, 4
mov dword [esi + 0x20], 7
mov dword [esi + 0x1c], ebp
push esi
mov word [esi + 0xc], bp
call fcn.004c2c15
add esp, 4
cmp ebx, edi
mov esi, ebx
jne 0x41b5d0
push edi
call fcn.004c2c15
mov ecx, dword [esp + 0xb8]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xb0
ret