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

Disassembly:
push 0xffffffffffffffff
push 0x4d6dcb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xbc
mov eax, dword [0x5003b0]
push ebx
push ebp
push esi
mov esi, dword [sym.imp.OLEAUT32.dll_SysReAllocString]
push edi
xor ebx, ebx
mov edi, ecx
mov ebp, 8
cmp eax, ebx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], ebx
mov dword [esp + 0x38], ebx
mov word [esp + 0x5c], bp
jne 0x413884
push 0x4ec188
call esi
mov dword [0x5003b0], eax
mov eax, dword [0x5003b4]
test eax, eax
jne 0x413899
push str.type
call esi
mov dword [0x5003b4], eax
mov eax, dword [0x5003b8]
test eax, eax
jne 0x4138ae
push str.value
call esi
mov dword [0x5003b8], eax
mov eax, dword [esp + 0xdc]
lea edx, [esp + 0x8c]
push edx
mov edx, dword [0x5003b0]
mov ecx, dword [eax]
push 0
push edx
push eax
call dword [ecx + 0x20]
mov eax, dword [esp + 0x94]
test eax, eax
jne 0x413906
mov eax, dword [esp + 0xdc]
lea edx, [esp + 0x38]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, dword [esp + 0x38]
mov word [esp + 0x8c], bp
mov dword [esp + 0x94], eax
mov dword [esp + 0x38], 0
jmp 0x413914
cmp word [esp + 0x8c], bp
jne 0x41445b
test eax, eax
je 0x41445b
mov eax, dword [esp + 0xdc]
lea edx, [esp + 0x7c]
push edx
mov edx, dword [0x5003b4]
mov ecx, dword [eax]
push 0
push edx
push eax
call dword [ecx + 0x20]
mov eax, dword [edi + 0x34]
test eax, eax
jne 0x413942
xor ebx, ebx
jmp 0x413959
mov ecx, dword [edi + 0x38]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
mov ebx, edx
mov eax, dword [esp + 0x94]
mov ecx, dword [0x4eb4c0]
xor ebp, ebp
mov dword [esp + 0x58], ebx
cmp eax, ebp
mov esi, eax
mov dword [esp + 0x1c], ecx
je 0x4139be
mov edx, eax
shr edx, 0x10
jne 0x41398e
and eax, 0xffff
lea ecx, [esp + 0x1c]
push eax
call fcn.00407b70
jmp 0x4139be
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, eax
cmp edi, ebp
je 0x4139be
push edi
lea ecx, [esp + 0x20]
call fcn.00407580
test eax, eax
je 0x4139be
lea ecx, [edi + edi]
mov edi, dword [esp + 0x1c]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x1c]
mov dword [esp + 0xd4], ebp
call fcn.00407680
mov ecx, dword [esp + 0x1c]
push ecx
call dword [sym.imp.USER32.dll_CharLowerW]
cmp ebx, ebp
mov dword [esp + 0x40], ebp
jle 0x414415
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x40]
xor edx, edx
mov eax, dword [eax + 0x34]
lea ecx, [ecx + ecx*2]
mov dword [esp + 0x34], edx
lea ebp, [eax + ecx*4]
cmp ebp, edx
mov dword [esp + 0x3c], ebp
je 0x41425f
mov eax, dword [esp + 0xe4]
mov dword [esp + 0x28], edx
cmp eax, edx
je 0x413bd3
mov esi, dword [ebp + 4]
cmp dword [esi - 0xc], edx
jl 0x413a33
mov dword [esp + 0x18], esi
add esi, 0xfffffff4
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x413a56
mov eax, dword [0x4eb4c0]
cmp esi, edx
mov dword [esp + 0x18], eax
jne 0x413a44
xor eax, eax
jmp 0x413a4b
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push esi
push eax
lea ecx, [esp + 0x20]
call fcn.00407780
lea ecx, [esp + 0x54]
push 7
push ecx
lea ecx, [esp + 0x20]
mov byte [esp + 0xdc], 1
call fcn.00410a30
mov eax, dword [eax]
push str.twform_
push eax
call dword [sym.imp.MSVCRT.dll_wcscmp]
mov ecx, dword [0x4eb24c]
add esp, 8
test eax, eax
mov eax, dword [esp + 0x54]
sete bl
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x413ab7
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x413abd
mov eax, dword [esp + 0x54]
add eax, 0xfffffff4
push eax
call fcn.004d3765
add esp, 4
jmp 0x413abd
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test bl, bl
je 0x413b60
lea ecx, [esp + 0x48]
push 7
push ecx
lea ecx, [esp + 0x20]
call fcn.00410880
mov esi, eax
mov eax, dword [esi]
mov ecx, dword [esp + 0x18]
cmp ecx, eax
mov byte [esp + 0xd4], 2
je 0x413b2d
mov edx, dword [ecx - 0xc]
test edx, edx
jge 0x413afd
mov edx, dword [0x4eb24c]
add ecx, 0xfffffff4
cmp ecx, edx
jne 0x413b04
mov ecx, dword [eax - 0xc]
test ecx, ecx
jge 0x413b14
mov edx, dword [eax - 8]
push eax
push edx
lea ecx, [esp + 0x20]
call fcn.00407780
jmp 0x413b2d
lea ecx, [esp + 0x18]
call fcn.00407610
mov esi, dword [esi]
mov dword [esp + 0x18], esi
add esi, 0xfffffff4
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov eax, dword [esp + 0x48]
mov edx, dword [0x4eb24c]
mov byte [esp + 0xd4], 1
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x413b60
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x413b60
mov edx, dword [esp + 0x48]
lea eax, [edx - 0xc]
push eax
call fcn.004d3765
add esp, 4
lea ecx, [esp + 0x18]
call fcn.00407680
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.USER32.dll_CharLowerW]
mov ecx, dword [esp + 0xdc]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x30]
push edx
push eax
call fcn.004154b0
test eax, eax
mov esi, 1
jne 0x413b9c
mov esi, dword [esp + 0x28]
mov eax, dword [esp + 0x18]
mov edx, dword [0x4eb24c]
mov byte [esp + 0xd4], 0
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x413bcf
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x413bcf
mov edx, dword [esp + 0x18]
lea eax, [edx - 0xc]
push eax
call fcn.004d3765
add esp, 4
test esi, esi
jne 0x413bed
mov ecx, dword [esp + 0x1c]
mov eax, dword [ebp + 4]
push ecx
push eax
call dword [sym.imp.MSVCRT.dll_wcscmp]
add esp, 8
test eax, eax
jne 0x41425f
mov edi, dword [esp + 0xe0]
mov esi, dword [sym.imp.MSVCRT.dll__wcsicmp]
push str.input
push edi
call esi
add esp, 8
test eax, eax
jne 0x413ea7
cmp word [esp + 0x7c], 8
jne 0x413ea7
mov eax, dword [esp + 0x84]
test eax, eax
je 0x413ea7
push str.text
push eax
call esi
add esp, 8
test eax, eax
je 0x414279
mov edx, dword [esp + 0x84]
push str.password
push edx
call esi
add esp, 8
test eax, eax
je 0x414279
mov eax, dword [esp + 0x84]
push str.checkbox
push eax
call esi
add esp, 8
test eax, eax
je 0x413cba
mov ecx, dword [esp + 0x84]
push str.radio
push ecx
call esi
add esp, 8
test eax, eax
je 0x413cba
mov edx, dword [esp + 0x84]
push str.submit
push edx
call esi
add esp, 8
test eax, eax
je 0x41425f
mov eax, dword [esp + 0x84]
push str.button
push eax
call esi
add esp, 8
test eax, eax
jne 0x414279
jmp 0x41425f
mov ecx, dword [esp + 0xdc]
xor eax, eax
test ecx, ecx
mov dword [esp + 0x10], eax
je 0x413cde
mov edx, dword [ecx]
lea eax, [esp + 0x10]
push eax
push 0x4ddaa8
push ecx
call dword [edx]
mov eax, dword [esp + 0x10]
test eax, eax
mov byte [esp + 0xd4], 3
je 0x413e8c
mov edx, dword [esp + 0x3c]
mov ecx, dword [edx + 8]
mov edi, dword [ecx - 8]
cmp edi, 1
mov dword [esp + 0x28], edi
jne 0x413d30
mov edi, dword [eax]
push 0x4ebec0
push ecx
mov esi, eax
call dword [sym.imp.MSVCRT.dll_wcscmp]
add esp, 8
neg eax
sbb eax, eax
neg eax
dec eax
push eax
push esi
call dword [edi + 0x90]
mov dword [esp + 0x34], 1
jmp 0x413e88
mov eax, dword [edx + 4]
mov esi, dword [esp + 0xe8]
lea ecx, [esp + 0x14]
mov byte [esp + 0xd4], 4
mov ebx, dword [esi]
push ecx
push eax
mov dword [esp + 0x1c], 0
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
push eax
push esi
call dword [ebx + 0xb4]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x413e76
xor esi, esi
mov word [esp + 0xac], 3
test edi, edi
jle 0x413e76
mov edi, dword [esp + 0xac]
xor ebp, ebp
cmp eax, ebp
mov byte [esp + 0xd4], 5
mov dword [esp + 0x20], ebp
jne 0x413da7
push 0x80004003
call fcn.004d3692
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x20]
mov ebx, dword [esp + 0xb0]
push ecx
mov edx, dword [eax]
sub esp, 0x10
mov ecx, esp
sub esp, 0x10
mov dword [ecx], edi
mov dword [ecx + 4], ebx
mov ebx, dword [esp + 0xdc]
mov dword [ecx + 8], esi
mov dword [ecx + 0xc], ebx
mov ebx, dword [esp + 0xd4]
mov ecx, esp
push eax
mov dword [ecx], edi
mov dword [ecx + 4], ebx
mov ebx, dword [esp + 0xe0]
mov dword [ecx + 8], esi
mov dword [ecx + 0xc], ebx
call dword [edx + 0x2c]
mov eax, dword [esp + 0x20]
cmp eax, ebp
je 0x413e53
mov dword [esp + 0x24], ebp
push 0x4ddaa8
lea edx, [esp + 0x28]
push eax
push edx
mov byte [esp + 0xe0], 6
call fcn.004160c0
mov eax, dword [esp + 0x24]
cmp eax, ebp
je 0x413e3d
mov ecx, dword [esp + 0x3c]
xor ebx, ebx
mov edx, dword [ecx + 8]
mov cx, word [edx + esi*2]
mov edx, dword [eax]
cmp cx, 0x31
setne bl
dec ebx
push ebx
push eax
call dword [edx + 0x90]
mov eax, dword [esp + 0x24]
cmp eax, ebp
mov byte [esp + 0xd4], 5
je 0x413e4f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x20]
cmp eax, ebp
mov byte [esp + 0xd4], 4
je 0x413e65
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x28]
inc esi
cmp esi, eax
mov eax, dword [esp + 0x14]
jl 0x413d89
test eax, eax
mov byte [esp + 0xd4], 3
je 0x413e88
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x10]
test eax, eax
mov byte [esp + 0xd4], 0
je 0x414253
mov edx, dword [eax]
push eax
call dword [edx + 8]
jmp 0x414253
push str.textarea
push edi
call esi
add esp, 8
test eax, eax
je 0x4142c1
push str.select
push edi
call esi
add esp, 8
test eax, eax
jne 0x41425f
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xdc]
test eax, eax
je 0x413efe
lea eax, [esp + 0xdc]
lea ecx, [esp + 0x10]
push eax
call fcn.004166d0
test eax, eax
jge 0x413efe
cmp eax, 0x80004002
je 0x413efe
push eax
call fcn.004d3692
mov ecx, dword [esp + 0x10]
mov byte [esp + 0xd4], 7
test ecx, ecx
je 0x41423d
mov eax, dword [esp + 0xe4]
xor esi, esi
cmp eax, esi
je 0x41421b
lea eax, [esp + 0x28]
mov dword [esp + 0x28], esi
mov edx, dword [ecx]
push eax
push ecx
call dword [edx + 0x6c]
mov ecx, dword [esp + 0x28]
xor eax, eax
cmp ecx, esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], eax
jle 0x41423d
mov word [esp + 0x6c], 3
mov dword [esp + 0x74], eax
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x70]
mov esi, dword [esp + 0x78]
mov dword [esp + 0xc4], eax
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0x10]
test eax, eax
mov byte [esp + 0xd4], 8
mov edi, ecx
mov ebp, edx
mov ebx, ecx
mov dword [esp + 0xa0], edx
mov dword [esp + 0xa8], esi
jne 0x413f9f
push 0x80004003
call fcn.004d3692
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x4c]
mov ecx, dword [eax]
push edx
sub esp, 0x10
mov edx, esp
sub esp, 0x10
mov dword [edx], edi
mov edi, dword [esp + 0xe8]
mov dword [edx + 4], ebp
mov dword [edx + 8], edi
mov dword [edx + 0xc], esi
mov esi, dword [esp + 0xc4]
mov edx, esp
push eax
mov dword [edx], ebx
mov dword [edx + 4], esi
mov esi, dword [esp + 0xcc]
mov dword [edx + 8], esi
mov esi, dword [esp + 0xd0]
mov dword [edx + 0xc], esi
call dword [ecx + 0x74]
test eax, eax
jl 0x4141fc
mov eax, dword [esp + 0x4c]
lea edx, [esp + 0x50]
push edx
push 0x4ddab8
mov ecx, dword [eax]
push eax
call dword [ecx]
mov ebp, eax
mov eax, dword [esp + 0x4c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
test ebp, ebp
jl 0x4141b6
mov eax, dword [esp + 0x50]
mov dword [esp + 0x44], 0
test eax, eax
je 0x414173
mov edx, dword [eax]
lea ecx, [esp + 0x44]
push ecx
push eax
call dword [edx + 0x40]
mov ebp, eax
mov eax, dword [esp + 0x50]
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [esp + 0x44]
test eax, eax
je 0x414173
mov ecx, dword [0x4eb4c0]
mov edx, eax
shr edx, 0x10
mov esi, eax
mov dword [esp + 0x14], ecx
jne 0x414070
and eax, 0xffff
lea ecx, [esp + 0x14]
push eax
call fcn.00407b70
jmp 0x4140a0
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, eax
test edi, edi
je 0x4140a0
push edi
lea ecx, [esp + 0x18]
call fcn.00407580
test eax, eax
je 0x4140a0
lea ecx, [edi + edi]
mov edi, dword [esp + 0x14]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ebx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x14]
mov byte [esp + 0xd4], 9
mov eax, dword [ebx + 8]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll_wcscmp]
add esp, 8
test eax, eax
jne 0x4140e5
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x4140d8
push 0x80004003
call fcn.004d3692
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x40]
jmp 0x414129
mov edx, dword [esp + 0x14]
mov edi, dword [sym.imp.MSVCRT.dll__wtoi]
push edx
call edi
mov esi, eax
add esp, 4
test esi, esi
je 0x414131
mov eax, dword [ebx + 8]
push eax
call edi
add esp, 4
cmp esi, eax
jne 0x414131
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x41411e
push 0x80004003
call fcn.004d3692
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x20]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x40]
mov dword [esp + 0x24], 1
mov eax, dword [esp + 0x44]
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esp + 0x14]
mov edx, dword [0x4eb24c]
mov dword [esp + 0x44], 0
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x414173
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x414173
mov edx, dword [esp + 0x14]
lea eax, [edx - 0xc]
push eax
call fcn.004d3765
add esp, 4
test ebp, ebp
jl 0x4141d5
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x4141f4
lea eax, [esp + 0x6c]
mov byte [esp + 0xd4], 7
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
test eax, eax
jge 0x41419c
push eax
call fcn.004d3692
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x28]
inc eax
cmp eax, ecx
mov dword [esp + 0x20], eax
jl 0x413f48
jmp 0x41423d
lea edx, [esp + 0x6c]
mov byte [esp + 0xd4], 7
push edx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
test eax, eax
jge 0x41423d
push eax
call fcn.004d3692
jmp 0x41423d
lea eax, [esp + 0x6c]
mov byte [esp + 0xd4], 7
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
test eax, eax
jge 0x41423d
push eax
call fcn.004d3692
jmp 0x41423d
mov dword [esp + 0x34], 1
lea ecx, [esp + 0x6c]
mov byte [esp + 0xd4], 7
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
test eax, eax
jge 0x41423d
push eax
call fcn.004d3692
jmp 0x41423d
mov edx, dword [esp + 0x3c]
mov edi, dword [ecx]
mov esi, ecx
mov eax, dword [edx + 8]
push eax
call dword [sym.imp.MSVCRT.dll__wtol]
add esp, 4
push eax
push esi
call dword [edi + 0x40]
mov dword [esp + 0x34], 1
mov eax, dword [esp + 0x10]
mov byte [esp + 0xd4], 0
test eax, eax
je 0x414253
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x34]
test eax, eax
jne 0x41430e
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x58]
inc eax
cmp eax, ecx
mov dword [esp + 0x40], eax
jge 0x414415
jmp 0x4139e5
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov edi, dword [esp + 0x5c]
push 0
sub esp, 0x10
mov esi, eax
mov ecx, esp
mov eax, dword [esp + 0xf0]
mov dword [ecx], edi
mov edi, dword [esp + 0x74]
mov edx, dword [eax]
mov dword [ecx + 4], edi
mov edi, dword [esp + 0x7c]
mov dword [ecx + 8], esi
mov dword [ecx + 0xc], edi
mov ecx, dword [0x5003b8]
push ecx
push eax
call dword [edx + 0x1c]
test esi, esi
mov dword [esp + 0x30], eax
je 0x41430e
jmp 0x414307
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov edi, dword [esp + 0x5c]
push 0
sub esp, 0x10
mov esi, eax
mov ecx, esp
mov eax, dword [esp + 0xf0]
mov dword [ecx], edi
mov edi, dword [esp + 0x74]
mov edx, dword [eax]
mov dword [ecx + 4], edi
mov edi, dword [esp + 0x7c]
mov dword [ecx + 8], esi
mov dword [ecx + 0xc], edi
mov ecx, dword [0x5003b8]
push ecx
push eax
call dword [edx + 0x1c]
test esi, esi
mov dword [esp + 0x30], eax
je 0x41430e
push esi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esp + 0xe4]
test eax, eax
jne 0x414415
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x2c]
mov ebx, dword [ecx + 0x38]
lea edx, [eax + eax*2]
mov eax, dword [ecx + 0x34]
lea eax, [eax + edx*4]
lea edi, [eax + 0xc]
cmp edi, ebx
je 0x4143a4
mov ebp, dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
lea esi, [edi - 8]
mov ecx, dword [edi]
mov dword [esi - 4], ecx
mov ecx, dword [esi]
mov eax, dword [esi + 0xc]
cmp ecx, eax
je 0x41438a
mov edx, dword [ecx - 0xc]
test edx, edx
jge 0x414363
mov edx, dword [0x4eb24c]
add ecx, 0xfffffff4
cmp ecx, edx
jne 0x41436a
mov ecx, dword [eax - 0xc]
test ecx, ecx
jge 0x414378
mov edx, dword [eax - 8]
push eax
push edx
mov ecx, esi
call fcn.00407780
jmp 0x41438a
mov ecx, esi
call fcn.00407610
mov eax, dword [esi + 0xc]
mov dword [esi], eax
add eax, 0xfffffff4
push eax
call ebp
lea eax, [esi + 0x10]
lea ecx, [esi + 4]
push eax
call fcn.00410560
add edi, 0xc
add esi, 0xc
cmp edi, ebx
jne 0x414341
mov ecx, dword [esp + 0x2c]
mov edi, dword [ecx + 0x38]
lea esi, [edi - 0xc]
cmp esi, edi
je 0x414411
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
mov eax, dword [esi + 8]
mov edx, dword [0x4eb24c]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4143dd
add eax, 0xfffffff4
push eax
call ebx
test eax, eax
jg 0x4143dd
mov edx, dword [esi + 8]
sub edx, 0xc
push edx
call fcn.004d3765
add esp, 4
mov eax, dword [esi + 4]
mov edx, dword [0x4eb24c]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x414406
add eax, 0xfffffff4
push eax
call ebx
test eax, eax
jg 0x414406
mov edx, dword [esi + 4]
sub edx, 0xc
push edx
call fcn.004d3765
add esp, 4
add esi, 0xc
cmp esi, edi
jne 0x4143b4
mov ecx, dword [esp + 0x2c]
add dword [ecx + 0x38], 0xfffffff4
mov eax, dword [esp + 0x94]
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esp + 0x1c]
mov edx, dword [0x4eb24c]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x414452
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x414452
mov edx, dword [esp + 0x1c]
add edx, 0xfffffff4
push edx
call fcn.004d3765
add esp, 4
mov ebx, dword [esp + 0x30]
mov ebp, 8
mov eax, dword [esp + 0x38]
test eax, eax
je 0x41446e
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
push eax
call esi
jmp 0x414474
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp word [esp + 0x8c], bp
jne 0x41448c
mov eax, dword [esp + 0x94]
test eax, eax
je 0x41448c
push eax
call esi
cmp word [esp + 0x7c], bp
jne 0x4144a1
mov eax, dword [esp + 0x84]
test eax, eax
je 0x4144a1
push eax
call esi
mov ecx, dword [esp + 0xcc]
pop edi
pop esi
mov eax, ebx
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xc8
ret 0x10