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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x98
mov eax, dword [ebp + 8]
mov ecx, dword [0x6f4e3c]
xor ecx, ebp
mov dword [esp + 0x90], ecx
movzx ecx, byte [eax + 0xb]
test cl, cl
jns 0x40b45e
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x40b55c
mov edi, dword [ebp + 0xc]
movzx ecx, byte [edi + 0xb]
test cl, cl
jns 0x40b474
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x40b55c
lea esi, [esp + 0x84]
mov ecx, esi
push eax
call fcn.00468aa8
movzx ecx, byte [esi + 0xb]
mov eax, ecx
test cl, cl
jns 0x40b49c
mov eax, dword [esp + 0x88]
test eax, eax
je 0x40b4e6
mov eax, esi
test cl, cl
jns 0x40b4ad
mov eax, dword [esp + 0x84]
movzx ecx, word [eax]
lea edx, [ecx - 0x41]
lea ebx, [ecx + 0x20]
cmp dx, 0x1a
cmovae ebx, ecx
mov word [eax], bx
add eax, 2
movzx ecx, byte [esp + 0x8f]
mov edx, esi
test cl, cl
jns 0x40b4df
mov edx, dword [esp + 0x84]
mov ecx, dword [esp + 0x88]
lea ecx, [edx + ecx*2]
cmp eax, ecx
jne 0x40b4ad
lea esi, [esp + 0x78]
mov ecx, esi
push edi
call fcn.00468aa8
movzx ecx, byte [esi + 0xb]
mov eax, ecx
test cl, cl
jns 0x40b500
mov eax, dword [esp + 0x7c]
test eax, eax
je 0x40b541
mov eax, esi
test cl, cl
jns 0x40b50e
mov eax, dword [esp + 0x78]
movzx ecx, word [eax]
lea edx, [ecx - 0x41]
lea edi, [ecx + 0x20]
cmp dx, 0x1a
cmovae edi, ecx
mov word [eax], di
add eax, 2
movzx ecx, byte [esp + 0x83]
mov edx, esi
test cl, cl
jns 0x40b53a
mov edx, dword [esp + 0x78]
mov ecx, dword [esp + 0x7c]
lea ecx, [edx + ecx*2]
cmp eax, ecx
jne 0x40b50e
lea esi, [esp + 0x6c]
mov ecx, esi
call fcn.00485150
cmp byte [esp + 0x83], 0
jns 0x40b563
mov eax, dword [esp + 0x78]
jmp 0x40b567
xor ebx, ebx
jmp 0x40b5ea
lea eax, [esp + 0x78]
mov ecx, esi
push 0x20019
push eax
push SysReAllocStringLen
call fcn.004852c0
xor ebx, ebx
test eax, eax
jne 0x40b5b2
lea esi, [esp + 0x60]
mov dword [esi + 4], ebx
mov dword [esi], ebx
mov dword [esi + 8], ebx
lea ecx, [esp + 0x6c]
push esi
push 0x6390a0
call fcn.00485a20
test eax, eax
je 0x40b602
xor ebx, ebx
cmp byte [esi + 0xb], 0
jns 0x40b5b2
push dword [esp + 0x60]
call fcn.00517bd6
add esp, 4
lea ecx, [esp + 0x6c]
call fcn.00485370
cmp byte [esp + 0x83], 0
jns 0x40b5d1
push dword [esp + 0x78]
call fcn.00517bd6
add esp, 4
cmp byte [esp + 0x8f], 0
jns 0x40b5ea
push dword [esp + 0x84]
call fcn.00517bd6
add esp, 4
mov ecx, dword [esp + 0x90]
xor ecx, ebp
call fcn.00517c1a
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
xor eax, eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x58], eax
mov al, byte [esp + 0x83]
test al, al
mov ecx, dword [esp + 0x7c]
movzx edx, al
mov esi, edx
cmovs esi, ecx
cmp esi, 4
jne 0x40b650
lea ecx, [esp + 0x78]
push 4
push 0x639d54
push 0xffffffffffffffff
push 0
call fcn.00469a8a
test eax, eax
je 0x40b67c
mov al, byte [esp + 0x83]
mov ecx, dword [esp + 0x7c]
movzx edx, al
test al, al
cmovs edx, ecx
test edx, edx
jne 0x40b68a
xor eax, eax
lea ecx, [esp + 0x78]
push eax
push 0x6390a0
push 0xffffffffffffffff
push eax
call fcn.00469a8a
test eax, eax
jne 0x40b68a
lea ecx, [esp + 0x50]
push str.mhtmlfile
jmp 0x40b685
lea ecx, [esp + 0x50]
push str.crxfile
call fcn.0046930c
lea eax, [esp + 0x60]
lea esi, [esp + 0x44]
mov ecx, esi
push eax
call fcn.00468aa8
movzx ecx, byte [esi + 0xb]
mov eax, ecx
test cl, cl
jns 0x40b6a8
mov eax, dword [esp + 0x48]
test eax, eax
je 0x40b6e6
mov eax, esi
test cl, cl
jns 0x40b6b6
mov eax, dword [esp + 0x44]
movzx ecx, word [eax]
lea edx, [ecx - 0x41]
lea edi, [ecx + 0x20]
cmp dx, 0x1a
cmovae edi, ecx
mov word [eax], di
add eax, 2
movzx ecx, byte [esp + 0x4f]
mov edx, esi
test cl, cl
jns 0x40b6df
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x48]
lea ecx, [edx + ecx*2]
cmp eax, ecx
jne 0x40b6b6
cmp byte [esp + 0x6b], 0
js 0x40b6ff
mov word [esp + 0x60], 0
mov byte [esp + 0x6b], 0
lea esi, [esp + 0x60]
jmp 0x40b72f
mov eax, dword [esp + 0x60]
mov word [eax], 0
mov dword [esp + 0x64], 0
cmp byte [esp + 0x6b], 0
lea esi, [esp + 0x60]
jns 0x40b72f
push dword [esp + 0x60]
call fcn.00517bd6
add esp, 4
mov dword [esp + 0x68], 0
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x68], eax
movsd xmm0, qword [esp + 0x44]
movsd qword [esp + 0x60], xmm0
movzx ecx, byte [esp + 0x6b]
movzx edx, byte [esp + 0x5b]
mov eax, ecx
test cl, cl
jns 0x40b757
mov eax, dword [esp + 0x64]
test dl, dl
js 0x40b769
cmp eax, edx
jne 0x40b59e
lea edx, [esp + 0x50]
jmp 0x40b773
cmp eax, dword [esp + 0x54]
jne 0x40b781
mov edx, dword [esp + 0x50]
test eax, eax
je 0x40b7a1
test cl, cl
jns 0x40b788
mov ecx, dword [esp + 0x60]
jmp 0x40b78c
xor ebx, ebx
jmp 0x40b8c6
lea ecx, [esp + 0x60]
xor esi, esi
movzx edi, word [ecx + esi*2]
cmp di, word [edx + esi*2]
jne 0x40b8c0
inc esi
cmp eax, esi
jne 0x40b78e
lea ecx, [esp + 0x44]
call fcn.00485150
xor eax, eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x40], eax
lea eax, [esp + 0x50]
movzx ebx, byte [eax + 0xb]
test bl, bl
cmovs ebx, dword [eax + 4]
mov ecx, dword [eax]
cmovns ecx, eax
lea eax, [ebx + 0xc]
cmp eax, 0x7ffffff0
jae 0x40be1d
cmp eax, 4
ja 0x40b7e7
lea esi, [esp + 0x38]
mov byte [esi + 0xb], bl
jmp 0x40b81f
mov dword [esp + 4], ecx
lea edi, [ebx + 0x14]
and edi, 0xfffffff8
js 0x40be26
lea eax, [edi + edi]
push eax
call fcn.00517b56
add esp, 4
mov esi, eax
mov dword [esp + 0x38], eax
or edi, 0x80000000
mov dword [esp + 0x40], edi
mov dword [esp + 0x3c], ebx
test ebx, ebx
mov ecx, dword [esp + 4]
je 0x40b82d
lea eax, [ebx + ebx]
push eax
push ecx
push esi
call fcn.006025b0
add esp, 0xc
mov word [esi + ebx*2], 0
lea esi, [esp + 0x38]
mov ecx, esi
push 0xc
push str.DefaultIcon
call fcn.00468fc8
cmp byte [esi + 0xb], 0
jns 0x40b84f
mov esi, dword [esp + 0x38]
lea ecx, [esp + 0x44]
push 0x20019
push esi
push SysReAllocStringLen
call fcn.004852c0
mov esi, eax
cmp byte [esp + 0x43], 0
jns 0x40b878
push dword [esp + 0x38]
call fcn.00517bd6
add esp, 4
xor ebx, ebx
test esi, esi
lea esi, [esp + 0x60]
jne 0x40b8b5
lea edi, [esp + 0x38]
mov dword [edi + 4], ebx
mov dword [edi], ebx
mov dword [edi + 8], ebx
lea ecx, [esp + 0x44]
push edi
push 0x6390a0
call fcn.00485a20
test eax, eax
je 0x40b8e2
xor ebx, ebx
cmp byte [edi + 0xb], 0
jns 0x40b8b5
push dword [esp + 0x38]
call fcn.00517bd6
add esp, 4
lea ecx, [esp + 0x44]
call fcn.00485370
jmp 0x40b8c6
xor ebx, ebx
lea esi, [esp + 0x60]
cmp byte [esp + 0x5b], 0
jns 0x40b5a0
push dword [esp + 0x50]
call fcn.00517bd6
add esp, 4
jmp 0x40b5a0
lea eax, [esp + 0x38]
lea esi, [esp + 0x28]
mov ecx, esi
push eax
call fcn.00468aa8
movzx ecx, byte [esi + 0xb]
mov eax, ecx
test cl, cl
jns 0x40b900
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x40b93e
mov eax, esi
test cl, cl
jns 0x40b90e
mov eax, dword [esp + 0x28]
movzx ecx, word [eax]
lea edx, [ecx - 0x41]
lea edi, [ecx + 0x20]
cmp dx, 0x1a
cmovae edi, ecx
mov word [eax], di
add eax, 2
movzx ecx, byte [esp + 0x33]
mov edx, esi
test cl, cl
jns 0x40b937
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
lea ecx, [edx + ecx*2]
cmp eax, ecx
jne 0x40b90e
cmp byte [esp + 0x43], 0
js 0x40b953
mov word [esp + 0x38], 0
mov byte [esp + 0x43], 0
jmp 0x40b97f
mov eax, dword [esp + 0x38]
mov word [eax], 0
mov dword [esp + 0x3c], 0
cmp byte [esp + 0x43], 0
jns 0x40b97f
push dword [esp + 0x38]
call fcn.00517bd6
add esp, 4
mov dword [esp + 0x40], 0
mov eax, dword [esp + 0x30]
mov dword [esp + 0x40], eax
movsd xmm0, qword [esp + 0x28]
movsd qword [esp + 0x38], xmm0
lea eax, [esp + 0x84]
movzx ebx, byte [eax + 0xb]
test bl, bl
cmovs ebx, dword [eax + 4]
mov ecx, dword [eax]
cmovns ecx, eax
xor eax, eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x30], eax
lea eax, [ebx + 2]
cmp eax, 0x7ffffff0
jae 0x40be2b
cmp eax, 5
jae 0x40b9db
lea esi, [esp + 0x28]
mov byte [esi + 0xb], bl
test ebx, ebx
lea edi, [esp + 0x38]
jne 0x40ba13
jmp 0x40ba21
mov dword [esp + 4], ecx
lea edi, [ebx + 0xa]
and edi, 0xfffffff8
js 0x40be26
lea eax, [edi + edi]
push eax
call fcn.00517b56
add esp, 4
mov esi, eax
mov dword [esp + 0x28], eax
or edi, 0x80000000
mov dword [esp + 0x30], edi
mov dword [esp + 0x2c], ebx
lea edi, [esp + 0x38]
mov ecx, dword [esp + 4]
lea eax, [ebx + ebx]
push eax
push ecx
push esi
call fcn.006025b0
add esp, 0xc
mov word [esi + ebx*2], 0
lea esi, [esp + 0x28]
mov ecx, esi
push 2
push 0x63ab22
call fcn.00468fc8
movzx edx, byte [esp + 0x43]
mov eax, edx
test dl, dl
jns 0x40ba48
mov eax, dword [esp + 0x3c]
movzx ecx, byte [esp + 0x33]
test cl, cl
js 0x40ba5e
cmp eax, ecx
jne 0x40ba7e
test eax, eax
jne 0x40ba70
jmp 0x40bae9
cmp eax, dword [esp + 0x2c]
lea esi, [esp + 0x60]
jne 0x40ba89
test eax, eax
je 0x40badd
mov esi, dword [esp + 0x28]
test dl, dl
mov dword [esp + 4], ecx
jns 0x40ba9a
mov edx, dword [esp + 0x38]
jmp 0x40ba9e
xor ebx, ebx
lea esi, [esp + 0x60]
jmp 0x40b8a3
push dword [esp + 0x28]
call fcn.00517bd6
add esp, 4
jmp 0x40b8a1
lea edx, [esp + 0x38]
xor ecx, ecx
movzx edi, word [edx + ecx*2]
movzx ebx, word [esi + ecx*2]
cmp di, bx
jne 0x40bab2
inc ecx
cmp eax, ecx
jne 0x40baa0
cmp byte [esp + 4], 0
jns 0x40bac5
push dword [esp + 0x28]
call fcn.00517bd6
add esp, 4
cmp di, bx
lea esi, [esp + 0x60]
lea edi, [esp + 0x38]
je 0x40bae9
xor ebx, ebx
lea edi, [esp + 0x38]
jmp 0x40b8a3
push dword [esp + 0x28]
call fcn.00517bd6
add esp, 4
lea ecx, [esp + 0x28]
call fcn.00485150
xor eax, eax
movzx ebx, byte [esp + 0x5b]
test bl, bl
cmovs ebx, dword [esp + 0x54]
mov dword [esp + 0x1c], eax
lea ecx, [esp + 0x50]
cmovs ecx, dword [esp + 0x50]
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], eax
lea eax, [ebx + 0x13]
cmp eax, 0x7ffffff0
jae 0x40be34
cmp eax, 4
ja 0x40bb31
lea esi, [esp + 0x18]
mov byte [esi + 0xb], bl
jmp 0x40bb6d
mov dword [esp + 4], ecx
lea edi, [ebx + 0x1b]
and edi, 0xfffffff8
js 0x40be26
lea eax, [edi + edi]
push eax
call fcn.00517b56
add esp, 4
mov esi, eax
mov dword [esp + 0x18], eax
or edi, 0x80000000
mov dword [esp + 0x20], edi
mov dword [esp + 0x1c], ebx
test ebx, ebx
lea edi, [esp + 0x38]
mov ecx, dword [esp + 4]
je 0x40bb7b
lea eax, [ebx + ebx]
push eax
push ecx
push esi
call fcn.006025b0
add esp, 0xc
mov word [esi + ebx*2], 0
lea esi, [esp + 0x18]
mov ecx, esi
push 0x13
push 0x63ab28
call fcn.00468fc8
cmp byte [esi + 0xb], 0
jns 0x40bb9d
mov esi, dword [esp + 0x18]
lea ecx, [esp + 0x28]
push 0x20019
push esi
push SysReAllocStringLen
call fcn.004852c0
mov esi, eax
cmp byte [esp + 0x23], 0
jns 0x40bbc6
push dword [esp + 0x18]
call fcn.00517bd6
add esp, 4
xor ebx, ebx
test esi, esi
lea esi, [esp + 0x60]
jne 0x40be0f
lea eax, [esp + 0x18]
mov dword [eax + 4], ebx
mov dword [eax], ebx
mov dword [eax + 8], ebx
lea ecx, [esp + 0x28]
push eax
push 0x6390a0
call fcn.00485a20
test eax, eax
je 0x40bbfa
xor ebx, ebx
jmp 0x40bdf9
lea eax, [esp + 0x18]
lea esi, [esp + 8]
mov ecx, esi
push eax
call fcn.00468aa8
movzx ecx, byte [esi + 0xb]
mov eax, ecx
test cl, cl
jns 0x40bc18
mov eax, dword [esp + 0xc]
test eax, eax
je 0x40bc56
mov eax, esi
test cl, cl
jns 0x40bc26
mov eax, dword [esp + 8]
movzx ecx, word [eax]
lea edx, [ecx - 0x41]
lea edi, [ecx + 0x20]
cmp dx, 0x1a
cmovae edi, ecx
mov word [eax], di
add eax, 2
movzx ecx, byte [esp + 0x13]
mov edx, esi
test cl, cl
jns 0x40bc4f
mov edx, dword [esp + 8]
mov ecx, dword [esp + 0xc]
lea ecx, [edx + ecx*2]
cmp eax, ecx
jne 0x40bc26
cmp byte [esp + 0x23], 0
js 0x40bc6b
mov word [esp + 0x18], 0
mov byte [esp + 0x23], 0
jmp 0x40bc97
mov eax, dword [esp + 0x18]
mov word [eax], 0
mov dword [esp + 0x1c], 0
cmp byte [esp + 0x23], 0
jns 0x40bc97
push dword [esp + 0x18]
call fcn.00517bd6
add esp, 4
mov dword [esp + 0x20], 0
mov eax, dword [esp + 0x10]
movzx ebx, byte [esp + 0x8f]
test bl, bl
cmovs ebx, dword [esp + 0x88]
mov dword [esp + 0x20], eax
lea ecx, [esp + 0x84]
cmovs ecx, dword [esp + 0x84]
movsd xmm0, qword [esp + 8]
movsd qword [esp + 0x18], xmm0
xor eax, eax
mov dword [esp + 0xc], eax
mov dword [esp + 8], eax
mov dword [esp + 0x10], eax
lea eax, [ebx + 5]
cmp eax, 0x7ffffff0
jae 0x40be3d
cmp ebx, 0xfffffffb
mov dword [esp + 4], ecx
jb 0x40bcfa
lea esi, [esp + 8]
mov byte [esi + 0xb], bl
jmp 0x40bd2a
lea edi, [ebx + 0xd]
and edi, 0xfffffff8
js 0x40be26
lea eax, [edi + edi]
push eax
call fcn.00517b56
add esp, 4
mov esi, eax
mov dword [esp + 8], eax
or edi, 0x80000000
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], ebx
test ebx, ebx
je 0x40bd3b
lea eax, [ebx + ebx]
push eax
push dword [esp + 8]
push esi
call fcn.006025b0
add esp, 0xc
mov word [esi + ebx*2], 0
lea esi, [esp + 8]
mov ecx, esi
push 5
push str.___1_
call fcn.00468fc8
movzx edx, byte [esp + 0x23]
mov eax, edx
test dl, dl
jns 0x40bd62
mov eax, dword [esp + 0x1c]
movzx ecx, byte [esp + 0x13]
test cl, cl
mov dword [esp + 4], ecx
js 0x40bd79
cmp eax, ecx
jne 0x40bddf
test eax, eax
jne 0x40bd87
jmp 0x40bdef
cmp eax, dword [esp + 0xc]
jne 0x40bd91
test eax, eax
je 0x40bde3
mov esi, dword [esp + 8]
test dl, dl
jns 0x40bd9f
mov edx, dword [esp + 0x18]
jmp 0x40bda3
push dword [esp + 8]
call fcn.00517bd6
add esp, 4
jmp 0x40bddf
lea edx, [esp + 0x18]
xor ecx, ecx
movzx edi, word [edx + ecx*2]
movzx ebx, word [esi + ecx*2]
cmp di, bx
jne 0x40bdb7
inc ecx
cmp eax, ecx
jne 0x40bda5
cmp byte [esp + 4], 0
jns 0x40bdca
push dword [esp + 8]
call fcn.00517bd6
add esp, 4
cmp di, bx
jne 0x40bddf
lea eax, [esp + 0x18]
mov bl, 1
lea esi, [esp + 0x60]
lea edi, [esp + 0x38]
jmp 0x40bdfd
xor ebx, ebx
jmp 0x40bdf1
push dword [esp + 8]
call fcn.00517bd6
add esp, 4
mov bl, 1
lea esi, [esp + 0x60]
lea edi, [esp + 0x38]
lea eax, [esp + 0x18]
cmp byte [eax + 0xb], 0
jns 0x40be0f
push dword [esp + 0x18]
call fcn.00517bd6
add esp, 4
lea ecx, [esp + 0x28]
call fcn.00485370
jmp 0x40b8a3
lea ecx, [esp + 0x38]
call fcn.00467d64
call fcn.0061842c
lea ecx, [esp + 0x28]
call fcn.00467d64
lea ecx, [esp + 0x18]
call fcn.00467d64
lea ecx, [esp + 8]
call fcn.00467d64