Function at 0x419127
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 0x41913c
xor edx, edx
jmp 0x419148
mov eax, dword [esi + 0x1c]
sub eax, dword [esi + 0x40]
cmp eax, dword [esi + 0x24]
setbe dl
cmp dword [esi], 0
jne 0x419166
mov eax, dword [esi + 0x7c]
mov ecx, dword [esi + 0x8c]
mov eax, dword [eax]
sub eax, ecx
cmp eax, 0x14ccc
jb 0x419166
add ecx, dword [esi + 0x74]
jmp 0x41916c
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 0x41921b
cmp dword [esi + 0x64], 0
jne 0x41921b
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 0x4191e8
mov ebx, dword [esi + 0x30]
cmp ebx, dword [esi + 0x34]
jae 0x4191d7
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 0x4191c1
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 0x41920a
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 0x4191f4
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 0x41925e
mov eax, dword [esi + 0x30]
cmp eax, dword [esi + 0x34]
jae 0x41924d
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 0x419237
mov ebp, dword [esi + 0x30]
xor eax, eax
test dl, dl
jne 0x41929b
mov dword [esp], edi
mov edi, ecx
mov al, 1
test byte [esi + 0xa], 4
jne 0x41927b
cmp dword [esi + 0x3c], 0x30
setb al
movzx edx, al
mov ecx, esi
call fcn.00427763
mov ecx, dword [esi + 0x3c]
test ecx, ecx
je 0x4192e5
mov edx, dword [esi + 0x30]
sub edx, ebp
inc edx
cmp edx, ecx
mov ecx, edi
mov edi, dword [esp]
jb 0x4192ea
mov edx, ecx
mov ecx, dword [esi + 0x1c]
sub ecx, dword [esi + 0x40]
cmp ecx, dword [esi + 0x24]
mov ecx, edx
ja 0x4192ea
mov dword [esi + 0x30], ebp
mov dword [esi + 0x48], ebx
lea eax, [ecx + 2]
mov dword [esi + 0x44], eax
cmp ecx, 6
jb 0x419312
cmp ebp, dword [esi + 0x34]
jae 0x4192cf
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 0x41930a
mov ebp, dword [esi + 0x30]
jmp 0x4192bb
mov ecx, edi
mov edi, dword [esp]
test eax, eax
jne 0x4193e9
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.00427763
jmp 0x4193e9
test eax, eax
je 0x419614
mov dword [esi + 0x44], 8
mov ecx, 8
mov eax, dword [esi + 0x30]
cmp eax, dword [esi + 0x34]
jae 0x419334
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 0x41931e
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 0x41937a
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 0x419363
mov ebp, dword [esi + 0x3c]
xor ebp, edx
mov dword [esi + 0x3c], ebp
dec eax
jne 0x419353
test ebp, ebp
je 0x4193e9
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 0x4193d2
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 0x4193bc
inc eax
cmp eax, dword [esi + 0x3c]
jb 0x41939c
test edi, edi
je 0x419548
mov eax, dword [esi + 0x44]
cmp edi, 4
jne 0x419434
test eax, eax
je 0x4194a4
mov dword [esi + 0x44], 8
mov ecx, 8
mov eax, dword [esi + 0x30]
cmp eax, dword [esi + 0x34]
jae 0x419423
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 0x41940d
jmp 0x4194a6
add eax, 3
mov dword [esi + 0x44], eax
cmp eax, 8
jb 0x419464
mov ecx, dword [esi + 0x30]
cmp ecx, dword [esi + 0x34]
jae 0x419455
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 0x41943f
test eax, eax
je 0x4194fc
mov dword [esi + 0x44], 8
mov ecx, 8
mov eax, dword [esi + 0x30]
cmp eax, dword [esi + 0x34]
jae 0x41948e
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 0x419478
jmp 0x419501
xor ecx, ecx
test byte [esi + 9], 0x10
je 0x419548
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 0x4194e0
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 0x4194ca
shl eax, 8
inc edx
cmp edx, 4
jne 0x4194b8
jmp 0x419548
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 0x41952e
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 0x419518
xor edx, 0xffff
dec edi
jne 0x419508
lea eax, [esi + 0x8192]
lea edi, [esi + 0x9272]
lea ebp, [esi + 0x9273]
xor ebx, ebx
push 0x280
push ebx
push eax
call fcn.0044d870
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 0x419609
cmp dword [esi], 0
je 0x4195c2
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 0x419609
mov dword [esi + 0x6c], 0xffffffff
xor eax, eax
dec eax
jmp 0x41960c
lea eax, [esi + 0x39272]
cmp ecx, eax
je 0x4195d4
add dword [esi + 0x8c], edi
jmp 0x419609
mov edx, dword [esi + 0x7c]
mov ecx, dword [esi + 0x8c]
mov ebp, dword [edx]
sub ebp, ecx
mov ebx, edi
cmp edi, ebp
jb 0x4195e9
mov ebx, ebp
add ecx, dword [esi + 0x74]
push ebx
push eax
push ecx
call fcn.0044cd70
add esp, 0xc
add dword [esi + 0x8c], ebx
cmp edi, ebp
jbe 0x419609
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 0x419345