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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 8
mov edi, edx
mov esi, ecx
test byte [ecx + 0xa], 8
jne 0x410708
xor edx, edx
jmp 0x410714
mov eax, dword [esi + 0x1c]
sub eax, dword [esi + 0x40]
cmp eax, dword [esi + 0x24]
setbe dl
cmp dword [esi], 0
jne 0x410732
mov eax, dword [esi + 0x7c]
mov ecx, dword [esi + 0x8c]
mov eax, dword [eax]
sub eax, ecx
cmp eax, 0x14ccc
jb 0x410732
add ecx, dword [esi + 0x74]
jmp 0x410738
lea ecx, [esi + 0x39272]
mov dword [esi + 0x30], ecx
mov dword [esp + 4], ecx
lea eax, [ecx + 0x14cbc]
mov dword [esi + 0x34], eax
xor eax, eax
mov dword [esi + 0x58], eax
mov dword [esi + 0x5c], eax
mov eax, dword [esi + 0x2c]
movzx ebx, byte [eax]
mov cl, byte [esi + 0x38]
shr ebx, cl
mov byte [eax], bl
xor eax, eax
cmp dword [esi + 0x38], 8
sete al
sub dword [esi + 0x28], eax
test byte [esi + 9], 0x10
je 0x4107e7
cmp dword [esi + 0x64], 0
jne 0x4107e7
mov ecx, dword [esi + 0x44]
mov eax, pe_nt_image_headers32
shl eax, cl
or eax, dword [esi + 0x48]
mov dword [esi + 0x48], eax
sub ecx, 0xfffffff8
mov dword [esi + 0x44], ecx
jae 0x4107b4
mov ebx, dword [esi + 0x30]
cmp ebx, dword [esi + 0x34]
jae 0x4107a3
lea ecx, [ebx + 1]
mov dword [esi + 0x30], ecx
mov byte [ebx], al
mov ecx, dword [esi + 0x44]
mov eax, dword [esi + 0x48]
shr eax, 8
mov dword [esi + 0x48], eax
add ecx, 0xfffffff8
mov dword [esi + 0x44], ecx
cmp ecx, 7
ja 0x41078d
bts eax, ecx
mov dword [esi + 0x48], eax
add ecx, 8
mov dword [esi + 0x44], ecx
mov ebx, dword [esi + 0x30]
cmp ebx, dword [esi + 0x34]
jae 0x4107d6
lea ecx, [ebx + 1]
mov dword [esi + 0x30], ecx
mov byte [ebx], al
mov ecx, dword [esi + 0x44]
mov eax, dword [esi + 0x48]
shr eax, 8
mov dword [esi + 0x48], eax
add ecx, 0xfffffff8
mov dword [esi + 0x44], ecx
cmp ecx, 7
ja 0x4107c0
xor ebx, ebx
cmp edi, 4
sete bl
mov ecx, dword [esi + 0x44]
shl ebx, cl
or ebx, dword [esi + 0x48]
mov dword [esi + 0x48], ebx
inc ecx
mov dword [esi + 0x44], ecx
cmp ecx, 8
jb 0x41082a
mov eax, dword [esi + 0x30]
cmp eax, dword [esi + 0x34]
jae 0x410819
lea ecx, [eax + 1]
mov dword [esi + 0x30], ecx
mov byte [eax], bl
mov ecx, dword [esi + 0x44]
mov ebx, dword [esi + 0x48]
shr ebx, 8
mov dword [esi + 0x48], ebx
add ecx, 0xfffffff8
mov dword [esi + 0x44], ecx
cmp ecx, 7
ja 0x410803
mov ebp, dword [esi + 0x30]
xor eax, eax
test dl, dl
jne 0x410867
mov dword [esp], edi
mov edi, ecx
mov al, 1
test byte [esi + 0xa], 4
jne 0x410847
cmp dword [esi + 0x3c], 0x30
setb al
movzx edx, al
mov ecx, esi
call fcn.0041bbdf
mov ecx, dword [esi + 0x3c]
test ecx, ecx
je 0x4108b1
mov edx, dword [esi + 0x30]
sub edx, ebp
inc edx
cmp edx, ecx
mov ecx, edi
mov edi, dword [esp]
jb 0x4108b6
mov edx, ecx
mov ecx, dword [esi + 0x1c]
sub ecx, dword [esi + 0x40]
cmp ecx, dword [esi + 0x24]
mov ecx, edx
ja 0x4108b6
mov dword [esi + 0x30], ebp
mov dword [esi + 0x48], ebx
lea eax, [ecx + 2]
mov dword [esi + 0x44], eax
cmp ecx, 6
jb 0x4108de
cmp ebp, dword [esi + 0x34]
jae 0x41089b
lea eax, [ebp + 1]
mov dword [esi + 0x30], eax
mov byte [ebp], bl
mov eax, dword [esi + 0x44]
mov ebx, dword [esi + 0x48]
shr ebx, 8
mov dword [esi + 0x48], ebx
add eax, 0xfffffff8
mov dword [esi + 0x44], eax
cmp eax, 8
jb 0x4108d6
mov ebp, dword [esi + 0x30]
jmp 0x410887
mov ecx, edi
mov edi, dword [esp]
test eax, eax
jne 0x4109b5
mov dword [esi + 0x30], ebp
mov dword [esi + 0x48], ebx
mov dword [esi + 0x44], ecx
xor edx, edx
inc edx
mov ecx, esi
call fcn.0041bbdf
jmp 0x4109b5
test eax, eax
je 0x410be0
mov dword [esi + 0x44], 8
mov ecx, 8
mov eax, dword [esi + 0x30]
cmp eax, dword [esi + 0x34]
jae 0x410900
lea ecx, [eax + 1]
mov dword [esi + 0x30], ecx
mov byte [eax], bl
mov ecx, dword [esi + 0x44]
mov ebx, dword [esi + 0x48]
shr ebx, 8
mov dword [esi + 0x48], ebx
add ecx, 0xfffffff8
mov dword [esi + 0x44], ecx
cmp ecx, 7
ja 0x4108ea
movzx ebp, word [esi + 0x3c]
mov eax, 2
mov edx, 0xffff
movzx ebp, bp
shl ebp, cl
or ebx, ebp
mov dword [esi + 0x48], ebx
add ecx, 0x10
mov dword [esi + 0x44], ecx
mov ebp, dword [esi + 0x30]
cmp ebp, dword [esi + 0x34]
jae 0x410946
lea ecx, [ebp + 1]
mov dword [esi + 0x30], ecx
mov byte [ebp], bl
mov ecx, dword [esi + 0x44]
mov ebx, dword [esi + 0x48]
shr ebx, 8
mov dword [esi + 0x48], ebx
add ecx, 0xfffffff8
mov dword [esi + 0x44], ecx
cmp ecx, 7
ja 0x41092f
mov ebp, dword [esi + 0x3c]
xor ebp, edx
mov dword [esi + 0x3c], ebp
dec eax
jne 0x41091f
test ebp, ebp
je 0x4109b5
xor eax, eax
mov edx, dword [esi + 0x40]
add edx, eax
and edx, 0x7fff
movzx edx, byte [esi + edx + 0x90]
shl edx, cl
or ebx, edx
mov dword [esi + 0x48], ebx
add ecx, 8
mov dword [esi + 0x44], ecx
mov edx, dword [esi + 0x30]
cmp edx, dword [esi + 0x34]
jae 0x41099e
lea ecx, [edx + 1]
mov dword [esi + 0x30], ecx
mov byte [edx], bl
mov ecx, dword [esi + 0x44]
mov ebx, dword [esi + 0x48]
shr ebx, 8
mov dword [esi + 0x48], ebx
add ecx, 0xfffffff8
mov dword [esi + 0x44], ecx
cmp ecx, 7
ja 0x410988
inc eax
cmp eax, dword [esi + 0x3c]
jb 0x410968
test edi, edi
je 0x410b14
mov eax, dword [esi + 0x44]
cmp edi, 4
jne 0x410a00
test eax, eax
je 0x410a70
mov dword [esi + 0x44], 8
mov ecx, 8
mov eax, dword [esi + 0x30]
cmp eax, dword [esi + 0x34]
jae 0x4109ef
mov cl, byte [esi + 0x48]
lea edx, [eax + 1]
mov dword [esi + 0x30], edx
mov byte [eax], cl
mov ecx, dword [esi + 0x44]
shr dword [esi + 0x48], 8
add ecx, 0xfffffff8
mov dword [esi + 0x44], ecx
cmp ecx, 7
ja 0x4109d9
jmp 0x410a72
add eax, 3
mov dword [esi + 0x44], eax
cmp eax, 8
jb 0x410a30
mov ecx, dword [esi + 0x30]
cmp ecx, dword [esi + 0x34]
jae 0x410a21
mov al, byte [esi + 0x48]
lea edx, [ecx + 1]
mov dword [esi + 0x30], edx
mov byte [ecx], al
mov eax, dword [esi + 0x44]
shr dword [esi + 0x48], 8
add eax, 0xfffffff8
mov dword [esi + 0x44], eax
cmp eax, 7
ja 0x410a0b
test eax, eax
je 0x410ac8
mov dword [esi + 0x44], 8
mov ecx, 8
mov eax, dword [esi + 0x30]
cmp eax, dword [esi + 0x34]
jae 0x410a5a
mov cl, byte [esi + 0x48]
lea edx, [eax + 1]
mov dword [esi + 0x30], edx
mov byte [eax], cl
mov ecx, dword [esi + 0x44]
mov eax, dword [esi + 0x48]
shr eax, 8
mov dword [esi + 0x48], eax
add ecx, 0xfffffff8
mov dword [esi + 0x44], ecx
cmp ecx, 7
ja 0x410a44
jmp 0x410acd
xor ecx, ecx
test byte [esi + 9], 0x10
je 0x410b14
mov eax, dword [esi + 0x18]
mov ebx, dword [esi + 0x48]
xor edx, edx
mov edi, eax
shr edi, 0x18
shl edi, cl
or ebx, edi
mov dword [esi + 0x48], ebx
add ecx, 8
mov dword [esi + 0x44], ecx
mov edi, dword [esi + 0x30]
cmp edi, dword [esi + 0x34]
jae 0x410aac
lea ecx, [edi + 1]
mov dword [esi + 0x30], ecx
mov byte [edi], bl
mov ecx, dword [esi + 0x44]
mov ebx, dword [esi + 0x48]
shr ebx, 8
mov dword [esi + 0x48], ebx
add ecx, 0xfffffff8
mov dword [esi + 0x44], ecx
cmp ecx, 7
ja 0x410a96
shl eax, 8
inc edx
cmp edx, 4
jne 0x410a84
jmp 0x410b14
mov eax, dword [esi + 0x48]
xor ecx, ecx
xor edx, edx
mov edi, 2
movzx ebx, dx
shl ebx, cl
or eax, ebx
mov dword [esi + 0x48], eax
add ecx, 0x10
mov dword [esi + 0x44], ecx
mov ebx, dword [esi + 0x30]
cmp ebx, dword [esi + 0x34]
jae 0x410afa
lea ecx, [ebx + 1]
mov dword [esi + 0x30], ecx
mov byte [ebx], al
mov ecx, dword [esi + 0x44]
mov eax, dword [esi + 0x48]
shr eax, 8
mov dword [esi + 0x48], eax
add ecx, 0xfffffff8
mov dword [esi + 0x44], ecx
cmp ecx, 7
ja 0x410ae4
xor edx, 0xffff
dec edi
jne 0x410ad4
lea eax, [esi + 0x8192]
lea edi, [esi + 0x9272]
lea ebp, [esi + 0x9273]
xor ebx, ebx
push 0x280
push ebx
push eax
call fcn.00432cd0
add esp, 0xc
mov dword [esi + 0x28], ebp
mov dword [esi + 0x2c], edi
mov dword [esi + 0x38], 8
mov edi, dword [esi + 0x30]
mov eax, dword [esi + 0x3c]
add dword [esi + 0x40], eax
mov dword [esi + 0x3c], ebx
inc dword [esi + 0x64]
mov ecx, dword [esp + 4]
sub edi, ecx
je 0x410bd5
cmp dword [esi], 0
je 0x410b8e
mov eax, dword [esi + 0x78]
mov ecx, dword [esi + 0x84]
sub ecx, dword [esi + 0x70]
mov dword [eax], ecx
lea eax, [esi + 0x39272]
push dword [esi + 4]
push edi
push eax
call dword [esi]
add esp, 0xc
test eax, eax
jne 0x410bd5
mov dword [esi + 0x6c], 0xffffffff
xor eax, eax
dec eax
jmp 0x410bd8
lea eax, [esi + 0x39272]
cmp ecx, eax
je 0x410ba0
add dword [esi + 0x8c], edi
jmp 0x410bd5
mov edx, dword [esi + 0x7c]
mov ecx, dword [esi + 0x8c]
mov ebp, dword [edx]
sub ebp, ecx
mov ebx, edi
cmp edi, ebp
jb 0x410bb5
mov ebx, ebp
add ecx, dword [esi + 0x74]
push ebx
push eax
push ecx
call fcn.004321d0
add esp, 0xc
add dword [esi + 0x8c], ebx
cmp edi, ebp
jbe 0x410bd5
sub edi, ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], edi
mov eax, dword [esi + 0x5c]
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret
xor ecx, ecx
jmp 0x410911