Function at 0x41804a
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 0x41805f
xor edx, edx
jmp 0x41806b
mov eax, dword [esi + 0x1c]
sub eax, dword [esi + 0x40]
cmp eax, dword [esi + 0x24]
setbe dl
cmp dword [esi], 0
jne 0x418089
mov eax, dword [esi + 0x7c]
mov ecx, dword [esi + 0x8c]
mov eax, dword [eax]
sub eax, ecx
cmp eax, 0x14ccc
jb 0x418089
add ecx, dword [esi + 0x74]
jmp 0x41808f
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 0x41813e
cmp dword [esi + 0x64], 0
jne 0x41813e
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 0x41810b
mov ebx, dword [esi + 0x30]
cmp ebx, dword [esi + 0x34]
jae 0x4180fa
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 0x4180e4
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 0x41812d
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 0x418117
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 0x418181
mov eax, dword [esi + 0x30]
cmp eax, dword [esi + 0x34]
jae 0x418170
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 0x41815a
mov ebp, dword [esi + 0x30]
xor eax, eax
test dl, dl
jne 0x4181be
mov dword [esp], edi
mov edi, ecx
mov al, 1
test byte [esi + 0xa], 4
jne 0x41819e
cmp dword [esi + 0x3c], 0x30
setb al
movzx edx, al
mov ecx, esi
call fcn.004258d8
mov ecx, dword [esi + 0x3c]
test ecx, ecx
je 0x418208
mov edx, dword [esi + 0x30]
sub edx, ebp
inc edx
cmp edx, ecx
mov ecx, edi
mov edi, dword [esp]
jb 0x41820d
mov edx, ecx
mov ecx, dword [esi + 0x1c]
sub ecx, dword [esi + 0x40]
cmp ecx, dword [esi + 0x24]
mov ecx, edx
ja 0x41820d
mov dword [esi + 0x30], ebp
mov dword [esi + 0x48], ebx
lea eax, [ecx + 2]
mov dword [esi + 0x44], eax
cmp ecx, 6
jb 0x418235
cmp ebp, dword [esi + 0x34]
jae 0x4181f2
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 0x41822d
mov ebp, dword [esi + 0x30]
jmp 0x4181de
mov ecx, edi
mov edi, dword [esp]
test eax, eax
jne 0x41830c
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.004258d8
jmp 0x41830c
test eax, eax
je 0x418537
mov dword [esi + 0x44], 8
mov ecx, 8
mov eax, dword [esi + 0x30]
cmp eax, dword [esi + 0x34]
jae 0x418257
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 0x418241
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 0x41829d
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 0x418286
mov ebp, dword [esi + 0x3c]
xor ebp, edx
mov dword [esi + 0x3c], ebp
dec eax
jne 0x418276
test ebp, ebp
je 0x41830c
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 0x4182f5
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 0x4182df
inc eax
cmp eax, dword [esi + 0x3c]
jb 0x4182bf
test edi, edi
je 0x41846b
mov eax, dword [esi + 0x44]
cmp edi, 4
jne 0x418357
test eax, eax
je 0x4183c7
mov dword [esi + 0x44], 8
mov ecx, 8
mov eax, dword [esi + 0x30]
cmp eax, dword [esi + 0x34]
jae 0x418346
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 0x418330
jmp 0x4183c9
add eax, 3
mov dword [esi + 0x44], eax
cmp eax, 8
jb 0x418387
mov ecx, dword [esi + 0x30]
cmp ecx, dword [esi + 0x34]
jae 0x418378
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 0x418362
test eax, eax
je 0x41841f
mov dword [esi + 0x44], 8
mov ecx, 8
mov eax, dword [esi + 0x30]
cmp eax, dword [esi + 0x34]
jae 0x4183b1
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 0x41839b
jmp 0x418424
xor ecx, ecx
test byte [esi + 9], 0x10
je 0x41846b
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 0x418403
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 0x4183ed
shl eax, 8
inc edx
cmp edx, 4
jne 0x4183db
jmp 0x41846b
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 0x418451
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 0x41843b
xor edx, 0xffff
dec edi
jne 0x41842b
lea eax, [esi + 0x8192]
lea edi, [esi + 0x9272]
lea ebp, [esi + 0x9273]
xor ebx, ebx
push 0x280
push ebx
push eax
call fcn.0044b390
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 0x41852c
cmp dword [esi], 0
je 0x4184e5
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 0x41852c
mov dword [esi + 0x6c], 0xffffffff
xor eax, eax
dec eax
jmp 0x41852f
lea eax, [esi + 0x39272]
cmp ecx, eax
je 0x4184f7
add dword [esi + 0x8c], edi
jmp 0x41852c
mov edx, dword [esi + 0x7c]
mov ecx, dword [esi + 0x8c]
mov ebp, dword [edx]
sub ebp, ecx
mov ebx, edi
cmp edi, ebp
jb 0x41850c
mov ebx, ebp
add ecx, dword [esi + 0x74]
push ebx
push eax
push ecx
call fcn.0044a890
add esp, 0xc
add dword [esi + 0x8c], ebx
cmp edi, ebp
jbe 0x41852c
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 0x418268