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

Disassembly:
push 0xffffffffffffffff
push 0x43a883
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
mov eax, dword [0x44cc30]
xor eax, esp
mov dword [esp + 0x9c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x44cc30]
xor eax, esp
push eax
lea eax, [esp + 0xb4]
mov dword fs:[0], eax
mov ebp, dword [esp + 0xd4]
mov ebx, dword [ebp + 0x10]
mov esi, dword [esp + 0xc4]
mov edi, dword [esp + 0xd0]
mov dword [esp + 0x20], ebp
cmp dword [ebp + 0xc], ebx
jbe 0x410a31
call fcn.00426db5
mov eax, dword [ebp]
mov ebp, dword [ebp + 0xc]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x18], eax
cmp ebp, dword [ecx + 0x10]
jbe 0x410a4d
call fcn.00426db5
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
mov eax, dword [ecx]
push ebx
push edx
push ebp
push eax
lea eax, [esp + 0x28]
push eax
call fcn.00410220
mov eax, dword [esi + 0x14]
test eax, eax
jbe 0x410add
xor ebx, ebx
cmp dword [esp + 0xcc], ebx
jle 0x410add
cmp dword [edi + 0x14], ebx
jbe 0x410add
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], 1
mov dword [esp + 0x4c], ebx
mov ebp, 8
mov dword [esp + 0xbc], ebx
cmp dword [esi + 0x18], ebp
jb 0x410ab2
mov esi, dword [esi + 4]
jmp 0x410ab5
add esi, 4
movzx ecx, byte [esp + 0xc8]
push ecx
push esi
lea ecx, [esp + 0x54]
call fcn.0040f2f0
cmp eax, ebx
je 0x410ae4
mov eax, dword [esp + 0x50]
cmp eax, ebx
je 0x410add
push eax
call fcn.004271c5
add esp, 4
xor al, al
jmp 0x410f7d
mov eax, dword [edi + 0x14]
xor ecx, ecx
inc eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00426550
mov ebx, eax
mov eax, dword [edi + 0x14]
add esp, 4
lea ecx, [ebx + eax*2]
mov dword [esp + 0x48], ebx
mov dword [esp + 0x40], ecx
test ebx, ebx
jne 0x410b1d
mov eax, dword [esp + 0x50]
test eax, eax
jmp 0x410ad2
cmp dword [edi + 0x18], ebp
jb 0x410b27
mov edi, dword [edi + 4]
jmp 0x410b2a
add edi, 4
push edi
inc eax
push eax
push ebx
call fcn.00428b47
add esp, 0xc
push 0x100
lea ecx, [esp + 0x70]
call fcn.0040dac0
mov byte [esp + 0xbc], 1
mov esi, ebx
mov dword [esp + 0x44], 0
mov edi, dword [esp + 0xcc]
lea edx, [esp + 0x44]
push edx
lea eax, [esp + 0x70]
push eax
push esi
lea ecx, [esp + 0x58]
call fcn.0040dc80
test eax, eax
je 0x410f29
lea ecx, [esp + 0x28]
call fcn.00419130
xor esi, esi
mov byte [esp + 0xbc], 2
test edi, edi
jle 0x410bf1
cmp esi, dword [esp + 0x6c]
jae 0x410ed6
mov eax, dword [esp + 0x7c]
mov ecx, dword [eax + esi*8]
mov eax, dword [eax + esi*8 + 4]
test ecx, ecx
je 0x410bf1
test eax, eax
je 0x410bf1
sub eax, ecx
sar eax, 1
push eax
push ecx
lea ecx, [esp + 0x9c]
call fcn.0040e840
lea ecx, [esp + 0x94]
push ecx
lea ecx, [esp + 0x2c]
mov byte [esp + 0xc0], 3
call fcn.00410920
lea ecx, [esp + 0x94]
mov byte [esp + 0xbc], 2
call fcn.00406db0
inc esi
cmp esi, edi
jl 0x410b90
cmp byte [esp + 0xd8], 0
jne 0x410e5a
mov edi, dword [esp + 0x20]
mov esi, dword [edi + 0xc]
cmp esi, dword [edi + 0x10]
jbe 0x410c10
call fcn.00426db5
mov edx, dword [edi]
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], esi
lea ebx, [ebx]
mov ebx, dword [esp + 0x20]
mov esi, dword [ebx + 0x10]
cmp dword [ebx + 0xc], esi
jbe 0x410c31
call fcn.00426db5
mov ecx, dword [esp + 0x18]
mov eax, dword [ebx]
test ecx, ecx
je 0x410c3f
cmp ecx, eax
je 0x410c44
call fcn.00426db5
cmp dword [esp + 0x1c], esi
je 0x410e5e
mov esi, dword [esp + 0x34]
mov byte [esp + 0x17], 1
cmp esi, dword [esp + 0x38]
jbe 0x410c62
call fcn.00426db5
mov eax, dword [esp + 0x1c]
mov ebx, dword [esp + 0x28]
add eax, 4
mov dword [esp + 0x24], eax
lea ebp, [esi + 4]
mov esi, dword [esp + 0x38]
cmp dword [esp + 0x34], esi
jbe 0x410c83
call fcn.00426db5
test ebx, ebx
je 0x410c8d
cmp ebx, dword [esp + 0x28]
je 0x410c92
call fcn.00426db5
lea edi, [ebp - 4]
cmp edi, esi
je 0x410de9
cmp byte [esp + 0xc8], 0
je 0x410d31
test ebx, ebx
jne 0x410ccb
call fcn.00426db5
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x410cc0
call fcn.00426db5
cmp dword [ebp + 0x14], 8
jb 0x410ccf
mov esi, dword [ebp]
jmp 0x410cd1
mov eax, dword [ebx]
jmp 0x410cb6
mov esi, ebp
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x410d26
call fcn.00426db5
xor eax, eax
mov ecx, dword [esp + 0x1c]
cmp ecx, dword [eax + 0x10]
jb 0x410cee
call fcn.00426db5
mov eax, dword [esp + 0x24]
cmp dword [eax + 0x14], 8
jb 0x410cfa
mov eax, dword [eax]
mov ecx, esi
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x410d2a
test dx, dx
je 0x410d22
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x410d2a
add eax, 4
add ecx, 4
test dx, dx
jne 0x410d00
xor eax, eax
jmp 0x410d8a
mov eax, dword [eax]
jmp 0x410ce0
sbb eax, eax
sbb eax, 0xffffffff
jmp 0x410d8a
test ebx, ebx
jne 0x410d51
call fcn.00426db5
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x410d46
call fcn.00426db5
cmp dword [ebp + 0x14], 8
jb 0x410d55
mov esi, dword [ebp]
jmp 0x410d57
mov eax, dword [ebx]
jmp 0x410d3c
mov esi, ebp
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x410ddd
call fcn.00426db5
xor eax, eax
mov edx, dword [esp + 0x1c]
cmp edx, dword [eax + 0x10]
jb 0x410d74
call fcn.00426db5
mov eax, dword [esp + 0x24]
cmp dword [eax + 0x14], 8
jb 0x410d80
mov eax, dword [eax]
push esi
push eax
call fcn.00428ab4
add esp, 8
test eax, eax
sete al
test al, al
jne 0x410d97
mov byte [esp + 0x17], al
test ebx, ebx
jne 0x410de1
call fcn.00426db5
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x410dac
call fcn.00426db5
mov eax, dword [esp + 0x18]
mov esi, 0x1c
add ebp, esi
test eax, eax
jne 0x410de5
call fcn.00426db5
xor eax, eax
mov ecx, dword [esp + 0x1c]
cmp ecx, dword [eax + 0x10]
jb 0x410dd0
call fcn.00426db5
add dword [esp + 0x1c], esi
add dword [esp + 0x24], esi
jmp 0x410c74
mov eax, dword [eax]
jmp 0x410d66
mov eax, dword [ebx]
jmp 0x410da2
mov eax, dword [eax]
jmp 0x410dc2
cmp byte [esp + 0x17], 0
je 0x410c20
mov eax, dword [esp + 0x44]
cmp eax, dword [esp + 0x40]
jae 0x410ee0
mov esi, eax
mov eax, dword [esp + 0x34]
mov byte [esp + 0xbc], 1
test eax, eax
je 0x410e36
mov edx, dword [esp + 0x40]
push edx
mov edx, dword [esp + 0x3c]
lea ecx, [esp + 0x34]
push ecx
push edx
push eax
call fcn.0040ec00
mov eax, dword [esp + 0x44]
push eax
call fcn.004268c7
add esp, 0x14
mov ecx, dword [esp + 0x28]
xor eax, eax
push ecx
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
call fcn.004268c7
mov ebx, dword [esp + 0x4c]
add esp, 4
jmp 0x410b56
mov ebx, dword [esp + 0x20]
mov esi, dword [esp + 0x34]
cmp esi, dword [esp + 0x38]
jbe 0x410e6d
call fcn.00426db5
mov edi, dword [esp + 0x28]
mov ebp, dword [esp + 0x38]
cmp dword [esp + 0x34], ebp
jbe 0x410e80
call fcn.00426db5
test edi, edi
je 0x410e8a
cmp edi, dword [esp + 0x28]
je 0x410e8f
call fcn.00426db5
cmp esi, ebp
je 0x410df4
test edi, edi
jne 0x410ece
call fcn.00426db5
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x410eac
call fcn.00426db5
push esi
mov ecx, ebx
call fcn.00410920
test edi, edi
jne 0x410ed2
call fcn.00426db5
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x410ec9
call fcn.00426db5
add esi, 0x1c
jmp 0x410e71
mov eax, dword [edi]
jmp 0x410ea2
mov eax, dword [edi]
jmp 0x410ebf
push 0x80004005
call fcn.0040c740
mov eax, dword [esp + 0x34]
test eax, eax
je 0x410f0a
mov edx, dword [esp + 0x40]
push edx
mov edx, dword [esp + 0x3c]
lea ecx, [esp + 0x34]
push ecx
push edx
push eax
call fcn.0040ec00
mov eax, dword [esp + 0x44]
push eax
call fcn.004268c7
add esp, 0x14
mov ecx, dword [esp + 0x28]
xor eax, eax
push ecx
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
call fcn.004268c7
mov ebx, dword [esp + 0x4c]
add esp, 4
push ebx
call fcn.004271ba
mov eax, dword [esp + 0x84]
xor esi, esi
add esp, 4
cmp eax, esi
je 0x410f48
push eax
call fcn.004271c5
add esp, 4
mov edx, dword [esp + 0x7c]
push edx
call fcn.004271ba
mov eax, dword [esp + 0x7c]
push eax
mov dword [esp + 0x84], esi
call fcn.004271ba
mov eax, dword [esp + 0x58]
add esp, 8
mov dword [esp + 0x78], esi
cmp eax, esi
je 0x410f7b
push eax
call fcn.004271c5
add esp, 4
mov al, 1
mov ecx, dword [esp + 0xb4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x9c]
xor ecx, esp
call fcn.004271ab
add esp, 0xac
ret