Function at 0x416c96
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 0x416cab
xor edx, edx
jmp 0x416cb7
mov eax, dword [esi + 0x1c]
sub eax, dword [esi + 0x40]
cmp eax, dword [esi + 0x24]
setbe dl
cmp dword [esi], 0
jne 0x416cd5
mov eax, dword [esi + 0x7c]
mov ecx, dword [esi + 0x8c]
mov eax, dword [eax]
sub eax, ecx
cmp eax, 0x14ccc
jb 0x416cd5
add ecx, dword [esi + 0x74]
jmp 0x416cdb
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 0x416d8a
cmp dword [esi + 0x64], 0
jne 0x416d8a
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 0x416d57
mov ebx, dword [esi + 0x30]
cmp ebx, dword [esi + 0x34]
jae 0x416d46
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 0x416d30
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 0x416d79
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 0x416d63
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 0x416dcd
mov eax, dword [esi + 0x30]
cmp eax, dword [esi + 0x34]
jae 0x416dbc
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 0x416da6
mov ebp, dword [esi + 0x30]
xor eax, eax
test dl, dl
jne 0x416e0a
mov dword [esp], edi
mov edi, ecx
mov al, 1
test byte [esi + 0xa], 4
jne 0x416dea
cmp dword [esi + 0x3c], 0x30
setb al
movzx edx, al
mov ecx, esi
call fcn.0042198f
mov ecx, dword [esi + 0x3c]
test ecx, ecx
je 0x416e54
mov edx, dword [esi + 0x30]
sub edx, ebp
inc edx
cmp edx, ecx
mov ecx, edi
mov edi, dword [esp]
jb 0x416e59
mov edx, ecx
mov ecx, dword [esi + 0x1c]
sub ecx, dword [esi + 0x40]
cmp ecx, dword [esi + 0x24]
mov ecx, edx
ja 0x416e59
mov dword [esi + 0x30], ebp
mov dword [esi + 0x48], ebx
lea eax, [ecx + 2]
mov dword [esi + 0x44], eax
cmp ecx, 6
jb 0x416e81
cmp ebp, dword [esi + 0x34]
jae 0x416e3e
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 0x416e79
mov ebp, dword [esi + 0x30]
jmp 0x416e2a
mov ecx, edi
mov edi, dword [esp]
test eax, eax
jne 0x416f58
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.0042198f
jmp 0x416f58
test eax, eax
je 0x417183
mov dword [esi + 0x44], 8
mov ecx, 8
mov eax, dword [esi + 0x30]
cmp eax, dword [esi + 0x34]
jae 0x416ea3
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 0x416e8d
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 0x416ee9
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 0x416ed2
mov ebp, dword [esi + 0x3c]
xor ebp, edx
mov dword [esi + 0x3c], ebp
dec eax
jne 0x416ec2
test ebp, ebp
je 0x416f58
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 0x416f41
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 0x416f2b
inc eax
cmp eax, dword [esi + 0x3c]
jb 0x416f0b
test edi, edi
je 0x4170b7
mov eax, dword [esi + 0x44]
cmp edi, 4
jne 0x416fa3
test eax, eax
je 0x417013
mov dword [esi + 0x44], 8
mov ecx, 8
mov eax, dword [esi + 0x30]
cmp eax, dword [esi + 0x34]
jae 0x416f92
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 0x416f7c
jmp 0x417015
add eax, 3
mov dword [esi + 0x44], eax
cmp eax, 8
jb 0x416fd3
mov ecx, dword [esi + 0x30]
cmp ecx, dword [esi + 0x34]
jae 0x416fc4
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 0x416fae
test eax, eax
je 0x41706b
mov dword [esi + 0x44], 8
mov ecx, 8
mov eax, dword [esi + 0x30]
cmp eax, dword [esi + 0x34]
jae 0x416ffd
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 0x416fe7
jmp 0x417070
xor ecx, ecx
test byte [esi + 9], 0x10
je 0x4170b7
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 0x41704f
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 0x417039
shl eax, 8
inc edx
cmp edx, 4
jne 0x417027
jmp 0x4170b7
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 0x41709d
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 0x417087
xor edx, 0xffff
dec edi
jne 0x417077
lea eax, [esi + 0x8192]
lea edi, [esi + 0x9272]
lea ebp, [esi + 0x9273]
xor ebx, ebx
push 0x280
push ebx
push eax
call fcn.00444060
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 0x417178
cmp dword [esi], 0
je 0x417131
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 0x417178
mov dword [esi + 0x6c], 0xffffffff
xor eax, eax
dec eax
jmp 0x41717b
lea eax, [esi + 0x39272]
cmp ecx, eax
je 0x417143
add dword [esi + 0x8c], edi
jmp 0x417178
mov edx, dword [esi + 0x7c]
mov ecx, dword [esi + 0x8c]
mov ebp, dword [edx]
sub ebp, ecx
mov ebx, edi
cmp edi, ebp
jb 0x417158
mov ebx, ebp
add ecx, dword [esi + 0x74]
push ebx
push eax
push ecx
call fcn.00443560
add esp, 0xc
add dword [esi + 0x8c], ebx
cmp edi, ebp
jbe 0x417178
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 0x416eb4