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

Disassembly:
push 0xffffffffffffffff
push 0x4d833b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xbc
mov eax, dword [0x500e94]
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 0x412974
push 0x4ede30
call esi
mov dword [0x500e94], eax
mov eax, dword [0x500e98]
test eax, eax
jne 0x412989
push str.type
call esi
mov dword [0x500e98], eax
mov eax, dword [0x500e9c]
test eax, eax
jne 0x41299e
push str.value
call esi
mov dword [0x500e9c], eax
mov eax, dword [esp + 0xdc]
lea edx, [esp + 0x8c]
push edx
mov edx, dword [0x500e94]
mov ecx, dword [eax]
push 0
push edx
push eax
call dword [ecx + 0x20]
mov eax, dword [esp + 0x94]
test eax, eax
jne 0x4129f6
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 0x412a04
cmp word [esp + 0x8c], bp
jne 0x41354b
test eax, eax
je 0x41354b
mov eax, dword [esp + 0xdc]
lea edx, [esp + 0x7c]
push edx
mov edx, dword [0x500e98]
mov ecx, dword [eax]
push 0
push edx
push eax
call dword [ecx + 0x20]
mov eax, dword [edi + 0x34]
test eax, eax
jne 0x412a32
xor ebx, ebx
jmp 0x412a49
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 [0x4ed0fc]
xor ebp, ebp
mov dword [esp + 0x58], ebx
cmp eax, ebp
mov esi, eax
mov dword [esp + 0x1c], ecx
je 0x412aae
mov edx, eax
shr edx, 0x10
jne 0x412a7e
and eax, 0xffff
lea ecx, [esp + 0x1c]
push eax
call fcn.00406b70
jmp 0x412aae
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, eax
cmp edi, ebp
je 0x412aae
push edi
lea ecx, [esp + 0x20]
call fcn.00406580
test eax, eax
je 0x412aae
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.00406680
mov ecx, dword [esp + 0x1c]
push ecx
call dword [sym.imp.USER32.dll_CharLowerW]
cmp ebx, ebp
mov dword [esp + 0x40], ebp
jle 0x413505
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 0x41334f
mov eax, dword [esp + 0xe4]
mov dword [esp + 0x28], edx
cmp eax, edx
je 0x412cc3
mov esi, dword [ebp + 4]
cmp dword [esi - 0xc], edx
jl 0x412b23
mov dword [esp + 0x18], esi
add esi, 0xfffffff4
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x412b46
mov eax, dword [0x4ed0fc]
cmp esi, edx
mov dword [esp + 0x18], eax
jne 0x412b34
xor eax, eax
jmp 0x412b3b
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push esi
push eax
lea ecx, [esp + 0x20]
call fcn.00406780
lea ecx, [esp + 0x54]
push 7
push ecx
lea ecx, [esp + 0x20]
mov byte [esp + 0xdc], 1
call fcn.0040fc10
mov eax, dword [eax]
push str.twform_
push eax
call dword [sym.imp.MSVCRT.dll_wcscmp]
mov ecx, dword [0x4ed100]
add esp, 8
test eax, eax
mov eax, dword [esp + 0x54]
sete bl
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x412ba7
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x412bad
mov eax, dword [esp + 0x54]
add eax, 0xfffffff4
push eax
call fcn.004d4cc1
add esp, 4
jmp 0x412bad
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test bl, bl
je 0x412c50
lea ecx, [esp + 0x48]
push 7
push ecx
lea ecx, [esp + 0x20]
call fcn.0040fa60
mov esi, eax
mov eax, dword [esi]
mov ecx, dword [esp + 0x18]
cmp ecx, eax
mov byte [esp + 0xd4], 2
je 0x412c1d
mov edx, dword [ecx - 0xc]
test edx, edx
jge 0x412bed
mov edx, dword [0x4ed100]
add ecx, 0xfffffff4
cmp ecx, edx
jne 0x412bf4
mov ecx, dword [eax - 0xc]
test ecx, ecx
jge 0x412c04
mov edx, dword [eax - 8]
push eax
push edx
lea ecx, [esp + 0x20]
call fcn.00406780
jmp 0x412c1d
lea ecx, [esp + 0x18]
call fcn.00406610
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 [0x4ed100]
mov byte [esp + 0xd4], 1
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x412c50
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x412c50
mov edx, dword [esp + 0x48]
lea eax, [edx - 0xc]
push eax
call fcn.004d4cc1
add esp, 4
lea ecx, [esp + 0x18]
call fcn.00406680
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.004145a0
test eax, eax
mov esi, 1
jne 0x412c8c
mov esi, dword [esp + 0x28]
mov eax, dword [esp + 0x18]
mov edx, dword [0x4ed100]
mov byte [esp + 0xd4], 0
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x412cbf
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x412cbf
mov edx, dword [esp + 0x18]
lea eax, [edx - 0xc]
push eax
call fcn.004d4cc1
add esp, 4
test esi, esi
jne 0x412cdd
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 0x41334f
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 0x412f97
cmp word [esp + 0x7c], 8
jne 0x412f97
mov eax, dword [esp + 0x84]
test eax, eax
je 0x412f97
push str.text
push eax
call esi
add esp, 8
test eax, eax
je 0x413369
mov edx, dword [esp + 0x84]
push str.password
push edx
call esi
add esp, 8
test eax, eax
je 0x413369
mov eax, dword [esp + 0x84]
push str.checkbox
push eax
call esi
add esp, 8
test eax, eax
je 0x412daa
mov ecx, dword [esp + 0x84]
push str.radio
push ecx
call esi
add esp, 8
test eax, eax
je 0x412daa
mov edx, dword [esp + 0x84]
push str.submit
push edx
call esi
add esp, 8
test eax, eax
je 0x41334f
mov eax, dword [esp + 0x84]
push str.button
push eax
call esi
add esp, 8
test eax, eax
jne 0x413369
jmp 0x41334f
mov ecx, dword [esp + 0xdc]
xor eax, eax
test ecx, ecx
mov dword [esp + 0x10], eax
je 0x412dce
mov edx, dword [ecx]
lea eax, [esp + 0x10]
push eax
push 0x4dfa38
push ecx
call dword [edx]
mov eax, dword [esp + 0x10]
test eax, eax
mov byte [esp + 0xd4], 3
je 0x412f7c
mov edx, dword [esp + 0x3c]
mov ecx, dword [edx + 8]
mov edi, dword [ecx - 8]
cmp edi, 1
mov dword [esp + 0x28], edi
jne 0x412e20
mov edi, dword [eax]
push 0x4edb54
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 0x412f78
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 0x412f66
xor esi, esi
mov word [esp + 0xac], 3
test edi, edi
jle 0x412f66
mov edi, dword [esp + 0xac]
xor ebp, ebp
cmp eax, ebp
mov byte [esp + 0xd4], 5
mov dword [esp + 0x20], ebp
jne 0x412e97
push 0x80004003
call fcn.004d4bee
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 0x412f43
mov dword [esp + 0x24], ebp
push 0x4dfa38
lea edx, [esp + 0x28]
push eax
push edx
mov byte [esp + 0xe0], 6
call fcn.004151b0
mov eax, dword [esp + 0x24]
cmp eax, ebp
je 0x412f2d
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 0x412f3f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x20]
cmp eax, ebp
mov byte [esp + 0xd4], 4
je 0x412f55
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 0x412e79
test eax, eax
mov byte [esp + 0xd4], 3
je 0x412f78
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x10]
test eax, eax
mov byte [esp + 0xd4], 0
je 0x413343
mov edx, dword [eax]
push eax
call dword [edx + 8]
jmp 0x413343
push str.textarea
push edi
call esi
add esp, 8
test eax, eax
je 0x4133b1
push str.select
push edi
call esi
add esp, 8
test eax, eax
jne 0x41334f
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xdc]
test eax, eax
je 0x412fee
lea eax, [esp + 0xdc]
lea ecx, [esp + 0x10]
push eax
call fcn.00415740
test eax, eax
jge 0x412fee
cmp eax, 0x80004002
je 0x412fee
push eax
call fcn.004d4bee
mov ecx, dword [esp + 0x10]
mov byte [esp + 0xd4], 7
test ecx, ecx
je 0x41332d
mov eax, dword [esp + 0xe4]
xor esi, esi
cmp eax, esi
je 0x41330b
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 0x41332d
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 0x41308f
push 0x80004003
call fcn.004d4bee
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 0x4132ec
mov eax, dword [esp + 0x4c]
lea edx, [esp + 0x50]
push edx
push 0x4dfa48
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 0x4132a6
mov eax, dword [esp + 0x50]
mov dword [esp + 0x44], 0
test eax, eax
je 0x413263
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 0x413263
mov ecx, dword [0x4ed0fc]
mov edx, eax
shr edx, 0x10
mov esi, eax
mov dword [esp + 0x14], ecx
jne 0x413160
and eax, 0xffff
lea ecx, [esp + 0x14]
push eax
call fcn.00406b70
jmp 0x413190
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, eax
test edi, edi
je 0x413190
push edi
lea ecx, [esp + 0x18]
call fcn.00406580
test eax, eax
je 0x413190
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 0x4131d5
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x4131c8
push 0x80004003
call fcn.004d4bee
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x40]
jmp 0x413219
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 0x413221
mov eax, dword [ebx + 8]
push eax
call edi
add esp, 4
cmp esi, eax
jne 0x413221
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x41320e
push 0x80004003
call fcn.004d4bee
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 [0x4ed100]
mov dword [esp + 0x44], 0
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x413263
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x413263
mov edx, dword [esp + 0x14]
lea eax, [edx - 0xc]
push eax
call fcn.004d4cc1
add esp, 4
test ebp, ebp
jl 0x4132c5
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x4132e4
lea eax, [esp + 0x6c]
mov byte [esp + 0xd4], 7
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
test eax, eax
jge 0x41328c
push eax
call fcn.004d4bee
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x28]
inc eax
cmp eax, ecx
mov dword [esp + 0x20], eax
jl 0x413038
jmp 0x41332d
lea edx, [esp + 0x6c]
mov byte [esp + 0xd4], 7
push edx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
test eax, eax
jge 0x41332d
push eax
call fcn.004d4bee
jmp 0x41332d
lea eax, [esp + 0x6c]
mov byte [esp + 0xd4], 7
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
test eax, eax
jge 0x41332d
push eax
call fcn.004d4bee
jmp 0x41332d
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 0x41332d
push eax
call fcn.004d4bee
jmp 0x41332d
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 0x413343
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x34]
test eax, eax
jne 0x4133fe
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x58]
inc eax
cmp eax, ecx
mov dword [esp + 0x40], eax
jge 0x413505
jmp 0x412ad5
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 [0x500e9c]
push ecx
push eax
call dword [edx + 0x1c]
test esi, esi
mov dword [esp + 0x30], eax
je 0x4133fe
jmp 0x4133f7
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 [0x500e9c]
push ecx
push eax
call dword [edx + 0x1c]
test esi, esi
mov dword [esp + 0x30], eax
je 0x4133fe
push esi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esp + 0xe4]
test eax, eax
jne 0x413505
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 0x413494
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 0x41347a
mov edx, dword [ecx - 0xc]
test edx, edx
jge 0x413453
mov edx, dword [0x4ed100]
add ecx, 0xfffffff4
cmp ecx, edx
jne 0x41345a
mov ecx, dword [eax - 0xc]
test ecx, ecx
jge 0x413468
mov edx, dword [eax - 8]
push eax
push edx
mov ecx, esi
call fcn.00406780
jmp 0x41347a
mov ecx, esi
call fcn.00406610
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.0040f740
add edi, 0xc
add esi, 0xc
cmp edi, ebx
jne 0x413431
mov ecx, dword [esp + 0x2c]
mov edi, dword [ecx + 0x38]
lea esi, [edi - 0xc]
cmp esi, edi
je 0x413501
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
mov eax, dword [esi + 8]
mov edx, dword [0x4ed100]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4134cd
add eax, 0xfffffff4
push eax
call ebx
test eax, eax
jg 0x4134cd
mov edx, dword [esi + 8]
sub edx, 0xc
push edx
call fcn.004d4cc1
add esp, 4
mov eax, dword [esi + 4]
mov edx, dword [0x4ed100]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4134f6
add eax, 0xfffffff4
push eax
call ebx
test eax, eax
jg 0x4134f6
mov edx, dword [esi + 4]
sub edx, 0xc
push edx
call fcn.004d4cc1
add esp, 4
add esi, 0xc
cmp esi, edi
jne 0x4134a4
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 [0x4ed100]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x413542
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x413542
mov edx, dword [esp + 0x1c]
add edx, 0xfffffff4
push edx
call fcn.004d4cc1
add esp, 4
mov ebx, dword [esp + 0x30]
mov ebp, 8
mov eax, dword [esp + 0x38]
test eax, eax
je 0x41355e
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
push eax
call esi
jmp 0x413564
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp word [esp + 0x8c], bp
jne 0x41357c
mov eax, dword [esp + 0x94]
test eax, eax
je 0x41357c
push eax
call esi
cmp word [esp + 0x7c], bp
jne 0x413591
mov eax, dword [esp + 0x84]
test eax, eax
je 0x413591
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