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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xa0
mov esi, ecx
movzx ecx, byte [ecx + 0xa5]
mov dword [esp + 4], edx
mov ebx, dword [esi + 0x88]
shl ecx, 0x1e
mov eax, ebx
mov edi, ebx
mov dword [esp + 0x10], ebx
shr ebx, 0x14
shr eax, 0x15
shr edi, 0xe
and ebx, 1
mov edx, eax
and edi, 1
and eax, 1
and edx, 2
or edx, ecx
lea ecx, [esp + 0x7c]
mov dword [esp + 0x50], edx
lea edx, [esi + 0xc]
mov dword [esp + 0x14], edx
push eax
push ebx
mov ebx, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0xc]
call fcn.00417ddf
add esp, 0xc
mov eax, dword [esi + 0xc4]
test eax, eax
je 0x416cb5
mov ecx, dword [esi + 0xc8]
mov edi, ebx
lea ebx, [esp + 0x7c]
lea edx, [esp + 0x50]
push ebx
mov ebx, edi
mov edi, dword [ebp + 0xc]
push edx
push dword [ebp + 0x14]
push ebx
push edi
push dword [ebp + 8]
push eax
call dword [ecx + 0xc]
add esp, 0x1c
mov dl, byte [ebp + 0x1c]
mov ecx, dword [ebp + 0x30]
cmp dl, 0x45
je 0x416cdf
movzx eax, dl
cmp eax, 0x46
jne 0x416cfe
push 8
pop eax
bt dword [esp + 0x10], 0x16
mov dword [esp + 0x34], eax
jb 0x41721b
xor edx, edx
jmp 0x416d05
mov dword [esp + 0x24], 0
push 4
pop eax
bt dword [esp + 0x10], 0x16
mov dword [esp + 0x34], eax
jb 0x417239
xor edx, edx
jmp 0x416d09
mov eax, dword [ebp + 0x28]
mov dword [esp + 0x34], eax
mov dword [esp + 0x24], ecx
mov eax, dword [ebp + 0x2c]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0xbc]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x3c], edx
test eax, eax
je 0x416d4d
mov ecx, dword [esi + 0xc0]
lea edx, [esp + 0x58]
push dword [ebp + 0x34]
push dword [esp + 0x28]
push dword [ebp + 0x2c]
push dword [ebp + 0x14]
push ebx
push edi
mov edi, dword [ebp + 8]
push edi
push eax
push edx
call dword [ecx + 0xc]
mov edx, dword [esp + 0x60]
add esp, 0x24
jmp 0x416d58
mov edi, dword [ebp + 8]
mov dword [esp + 0x58], 0x80000002
cmp dword [ebp + 0x24], 0
mov cl, 1
jne 0x416d71
mov eax, dword [esp + 0x10]
shr eax, 0xb
and eax, 1
test dl, dl
sete cl
or cl, al
cmp dword [ebp + 0x34], 2
jne 0x416d7b
xor ecx, ecx
jmp 0x416d96
test byte [esi + 0x8c], 4
jne 0x416d96
movzx eax, word [edi + 0x20]
cmp eax, 0x40d
je 0x416d77
cmp eax, 0x414
je 0x416d77
mov edi, dword [edi + 0x14]
mov dword [esp + 0xc], esi
mov dword [esp + 0x54], ecx
mov eax, edi
shr eax, 0x12
and al, 3
cmp al, 1
mov dword [esp + 0x40], eax
jne 0x416ddb
test dl, dl
je 0x416e09
mov ecx, edi
xor esi, esi
mov bl, 1
shr ecx, 5
and ecx, 7
dec ecx
mov edx, ecx
add dl, 0x47
cmp ecx, 6
movzx eax, dl
cmovae eax, esi
mov dword [esp + 0x2c], eax
mov al, 1
mov dword [esp + 0x1c], eax
jmp 0x416e3e
cmp al, 2
sete al
test dl, dl
je 0x416e0b
mov ecx, edi
mov dword [esp + 0x1c], eax
xor esi, esi
mov bl, 1
shr ecx, 5
and ecx, 7
dec ecx
mov edx, ecx
add dl, 0x47
cmp ecx, 6
movzx eax, dl
cmovae eax, esi
mov dword [esp + 0x2c], eax
jmp 0x416e3e
mov al, 1
mov dh, byte [ebp + 0x20]
mov ecx, edi
mov dword [esp + 0x1c], eax
test dh, dh
setne bl
shr ecx, 5
xor esi, esi
and ecx, 7
dec ecx
mov dl, cl
add dl, 0x47
cmp ecx, 6
movzx ecx, dl
mov dl, al
cmovae ecx, esi
or dl, dh
mov dword [esp + 0x2c], ecx
je 0x41737c
mov ecx, dword [esp + 0x58]
mov esi, dword [esp + 4]
test bl, bl
jne 0x416e90
cmp byte [esp + 0x1c], 0
je 0x416e90
cmp ecx, 0x80000002
jne 0x416eb1
bt dword [esp + 0x10], 0x1d
jb 0x416e98
cmp byte [esp + 0x2c], 0
jne 0x416e98
mov cl, 1
xor ebx, ebx
mov al, 1
mov dword [esp + 0x2c], 0
mov dword [esp + 0x20], 0x80000002
mov dword [esp + 0x28], 0x80000002
mov dword [esp + 0x30], ecx
mov dword [esp + 0x1c], eax
jmp 0x416ec7
cmp ecx, 0x80000002
jne 0x416eb1
mov eax, dword [esp + 0x10]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x28], 0x80000002
shr eax, 0x1f
mov dword [esp + 0x30], eax
jmp 0x416ec7
mov edx, dword [esp + 0x10]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x28], ecx
shr edx, 0x1e
and edx, 1
mov dword [esp + 0x30], edx
mov eax, dword [ebp + 8]
test bl, bl
mov ecx, 0x44ea46
mov dword [esp + 0x48], ebx
setne byte [esp + 0xb]
bt edi, 0x1a
movzx eax, word [eax + 0x20]
mov dword [esp + 0x44], eax
mov eax, 0x44fd8e
cmovb ecx, eax
mov eax, dword [esp + 0x50]
shr eax, 0x1e
cmp eax, 3
je 0x416f09
mov edx, dword [ebp + 0x38]
and edx, 7
cmp edx, 3
jne 0x4171c6
mov eax, dword [esp + 0x2c]
cmp al, 0x4a
jne 0x416f5b
mov edx, dword [esp + 0x44]
mov edi, dword [ebp + 0xc]
mov ecx, dword [esp + 0x3c]
add edx, 0xfffffd0b
cmp edx, 8
ja 0x4173ba
mov eax, 0x1c7
bt eax, edx
jae 0x4173ba
mov eax, dword [esp + 0x40]
dec al
cmp al, 2
jae 0x416f6c
mov eax, ecx
add al, 0xe6
cmp al, 0x11
jae 0x416f6c
movzx eax, al
mov ecx, 0x18001
bt ecx, eax
setb al
jmp 0x416f6e
bt dword [esp + 0x10], 0xc
mov ebx, dword [esp + 0xc]
mov edi, dword [ebp + 0xc]
jae 0x416f7a
jmp 0x416fb6
xor eax, eax
mov ebx, dword [esp + 0xc]
bt dword [esp + 0x10], 0xc
jb 0x416fb6
test al, al
je 0x416f93
mov edx, dword [ebp + 8]
xor ecx, ecx
push dword [ebx + 0x8c]
call fcn.00418159
pop ecx
test al, al
jne 0x416fb6
cmp byte [esp + 0x48], 0
jne 0x416fe0
cmp byte [esp + 0x1c], 0
je 0x416fe0
cmp dword [esp + 0x20], 0x80000002
jne 0x416fe0
mov eax, dword [esp + 0x10]
and eax, 0x20000000
je 0x416fe0
movzx eax, byte [ebp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, esi
push eax
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push edi
call fcn.00416b94
add esp, 0xc
mov ecx, esi
mov edx, 0x4385f4
push 1
call fcn.0041868b
pop eax
pop ecx
mov eax, dword [esp + 0x30]
or byte [esp + 0xb], al
test al, al
jne 0x417049
xor ebx, ebx
cmp byte [esp + 0x48], 0
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
lea eax, [esp + 0x58]
sete bl
push ebx
mov ebx, dword [esp + 0x10]
push 0
push dword [ebp + 0x34]
push dword [esp + 0x40]
push dword [esp + 0x5c]
push dword [esp + 0x2c]
push dword [esp + 0x3c]
push dword [ebp + 0x2c]
push eax
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push edi
push esi
lea eax, [esp + 0xb0]
push eax
call fcn.00418210
add esp, 0x38
cmp byte [esp + 0xb], 0
je 0x417076
mov eax, dword [ebx + 0x88]
mov dword [esp + 0x10], eax
sub esp, 4
mov ecx, esi
mov edx, 0x4385fe
push 1
call fcn.0041868b
pop eax
pop ecx
cmp byte [esp + 0x10], 0
jns 0x417076
sub esp, 4
mov ecx, esi
mov edx, 0x437492
push 1
call fcn.0041868b
pop eax
pop ecx
mov eax, dword [esp + 0x3c]
test al, al
je 0x4170f8
mov ecx, dword [esp + 0x14]
movzx eax, al
mov edx, esi
push eax
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push edi
call fcn.00416b94
add esp, 0x10
cmp byte [ebp + 0x20], 0
je 0x4172d9
test byte [ebx + 0x89], 1
mov edi, 0x43763d
je 0x4170e3
sub esp, 4
mov ecx, dword [esp + 8]
xor esi, esi
mov edi, 0x437492
mov edx, 0x437492
inc esi
push esi
call fcn.0041868b
pop eax
pop ecx
sub esp, 4
mov ecx, dword [esp + 8]
mov edx, 0x43763d
push esi
mov esi, dword [esp + 0xc]
call fcn.0041868b
pop eax
pop ecx
sub esp, 4
mov ecx, esi
mov edx, edi
push 1
call fcn.0041868b
pop eax
pop ecx
mov edi, dword [ebp + 0xc]
jmp 0x417102
cmp byte [ebp + 0x20], 0
je 0x4173b3
cmp byte [esp + 0x54], 0
je 0x4171a7
mov ebx, dword [ebx + 0x88]
bt ebx, 0xa
jb 0x417251
movzx eax, byte [ebp + 0x20]
mov ecx, dword [esp + 0x14]
mov edx, esi
push eax
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push edi
call fcn.00416b94
add esp, 0x10
bt ebx, 9
mov edi, 0x43763c
mov ebx, esi
jae 0x417170
sub esp, 4
xor esi, esi
mov edi, 0x437492
mov ecx, ebx
mov edx, 0x437492
inc esi
push esi
call fcn.0041868b
pop eax
pop ecx
sub esp, 4
mov ecx, ebx
mov edx, 0x43763c
push esi
call fcn.0041868b
pop eax
pop ecx
sub esp, 4
xor esi, esi
mov ecx, ebx
mov edx, edi
inc esi
push esi
call fcn.0041868b
pop eax
pop ecx
mov eax, dword [ebp + 0x24]
mov edx, dword [eax*8 + 0x4385d0]
sub esp, 4
mov ecx, ebx
push esi
call fcn.0041868b
pop eax
pop ecx
mov esi, ebx
mov ebx, dword [esp + 0xc]
mov edi, dword [ebp + 0xc]
jmp 0x4172d9
movzx eax, byte [ebp + 0x20]
mov ecx, dword [esp + 0x14]
mov edx, esi
push eax
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push edi
call fcn.00416b94
add esp, 0x10
jmp 0x4172d9
mov esi, dword [esp + 0x44]
movzx esi, byte [ecx + esi]
mov ecx, dword [esp + 0xc]
mov ecx, dword [ecx + 0xb0]
shl esi, 4
mov dword [esp + 0x38], esi
mov edi, dword [ecx + esi]
mov ebx, dword [ecx + esi + 4]
mov esi, dword [ecx + esi + 8]
test esi, esi
je 0x4173df
cmp esi, 8
je 0x4173cf
cmp esi, 0x10
jne 0x41740e
mov esi, dword [esp + 4]
cmp edx, 2
jne 0x417412
mov edi, 0xc8
jmp 0x41741c
mov eax, dword [ebp + 0x2c]
mov edx, dword [ebp + 8]
mov dword [esp + 0x24], ecx
sub eax, dword [edx]
mov dword [esp + 0x18], eax
mov eax, ecx
sbb eax, dword [edx + 4]
mov dl, 0x46
mov ecx, eax
jmp 0x416d10
mov eax, dword [ebp + 0x2c]
mov ecx, dword [ebp + 8]
mov dl, 0x45
sub eax, dword [ecx]
mov ecx, eax
mov dword [esp + 0x18], eax
sar ecx, 0x1f
jmp 0x416d10
mov eax, dword [ebp + 0x24]
mov edx, dword [eax*8 + 0x4385d0]
sub esp, 4
mov ecx, esi
push 1
call fcn.0041868b
pop eax
pop ecx
mov edi, 0x43763c
bt ebx, 9
jae 0x4172a8
sub esp, 4
mov ecx, dword [esp + 8]
xor esi, esi
mov edi, 0x437492
mov edx, 0x437492
inc esi
push esi
call fcn.0041868b
pop eax
pop ecx
sub esp, 4
mov ecx, dword [esp + 8]
mov edx, 0x43763c
push esi
mov esi, dword [esp + 0xc]
call fcn.0041868b
pop eax
pop ecx
sub esp, 4
mov ecx, esi
mov edx, edi
push 1
call fcn.0041868b
pop eax
pop ecx
movzx eax, byte [ebp + 0x20]
mov ecx, dword [esp + 0x14]
mov edx, esi
push eax
push dword [ebp + 0x14]
push dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
push edi
call fcn.00416b94
add esp, 0x10
mov ebx, dword [esp + 0xc]
mov al, 1
cmp byte [esp + 0x30], 0
je 0x41732f
mov ecx, dword [esp + 0x14]
movzx esi, al
xor al, 1
mov edx, ebx
movzx eax, al
push eax
push esi
mov esi, dword [esp + 0xc]
push dword [ebp + 0x34]
push dword [esp + 0x40]
push dword [esp + 0x5c]
push dword [esp + 0x2c]
push dword [esp + 0x3c]
push dword [ebp + 0x2c]
lea eax, [esp + 0x78]
push eax
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push edi
push esi
lea eax, [esp + 0xb0]
push eax
call fcn.00418210
add esp, 0x38
mov edi, dword [esp + 0x20]
jmp 0x41733a
cmp byte [esp + 0xb], 0
mov edi, dword [esp + 0x20]
je 0x417369
test byte [ebx + 0x88], 0x80
je 0x417356
sub esp, 4
mov ecx, esi
mov edx, 0x437492
push 1
call fcn.0041868b
pop eax
pop ecx
sub esp, 4
mov ecx, esi
mov edx, 0x4385ff
push 1
call fcn.0041868b
pop eax
pop ecx
mov edx, dword [esp + 0x5c]
mov ecx, edi
call fcn.00417756
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x1c], 0
cmp ecx, 0x80000002
jne 0x416e42
mov esi, dword [esp + 4]
mov cl, 1
mov dword [esp + 0x20], 0x80000002
mov dword [esp + 0x28], 0x80000002
mov dword [esp + 0x30], ecx
jmp 0x416ec7
xor eax, eax
jmp 0x4172db
bt dword [esp + 0x10], 0xc
mov ebx, dword [esp + 0xc]
jae 0x416f7e
jmp 0x416fb6
mov esi, dword [esp + 4]
cmp edx, 1
jne 0x417412
mov edi, 0xc0
jmp 0x41741c
mov esi, dword [esp + 4]
cmp edx, 4
je 0x417417
cmp edx, 5
jne 0x417429
mov edi, dword [esp + 0xc]
mov edx, dword [esp + 0x40]
dec dl
cmp dl, 2
mov edi, dword [edi + 0xb8]
jae 0x4174fb
add edi, 0x88
jmp 0x417426
mov esi, dword [esp + 4]
cmp edx, 4
jne 0x417429
mov edi, 0xf8
mov edx, dword [esp + 0xc]
add edi, dword [edx + 0xb8]
push 2
pop ebx
mov edx, dword [esp + 0x38]
add edx, ecx
test al, al
je 0x417482
movzx eax, al
cmp eax, 2
jne 0x4174c7
cmp dword [esp + 0x28], 0x80000002
je 0x417479
mov al, byte [esp + 0x74]
cmp al, 0xa2
je 0x417479
movzx esi, byte [edx + 0xc]
mov dword [esp + 0x38], edx
movzx eax, al
mov edx, edi
push eax
push esi
mov esi, dword [esp + 0xc]
push ebx
call fcn.004180eb
mov edx, dword [esp + 0x44]
add esp, 0xc
test al, al
jne 0x416f09
mov eax, dword [ebp + 0x38]
test al, 0x10
je 0x4174bd
jmp 0x4174c7
cmp dword [esp + 0x28], 0x80000002
je 0x4174b6
mov al, byte [esp + 0x74]
cmp al, 0xa2
je 0x4174b6
movzx esi, byte [edx + 0xc]
movzx eax, al
mov edx, edi
push eax
push esi
mov esi, dword [esp + 0xc]
push ebx
call fcn.004180eb
add esp, 0xc
test al, al
jne 0x416f09
jmp 0x4174c7
mov eax, dword [ebp + 0x38]
test al, 8
jne 0x4174c7
cmp byte [edx + 0xc], 0
je 0x416f09
shl ebx, 2
test ebx, ebx
je 0x416f09
mov ecx, dword [esp + 0x10]
mov edx, esi
push dword [edi]
add edi, 4
call fcn.00417818
pop eax
sub esp, 4
mov ecx, esi
mov edx, 0x437492
push 1
call fcn.0041868b
pop eax
pop ecx
add ebx, 0xfffffffc
jmp 0x4174ca
add edi, 0xd8
jmp 0x417426