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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x6c
mov eax, dword [0x4f0008]
xor eax, esp
mov dword [esp + 0x68], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
cmp dword [ebx], 0
mov dword [esp + 0x10], edi
je 0x4122d6
mov eax, dword [ebx + 4]
cmp dword [edi + eax*4 + 0x57158], 0
je 0x412c6a
cmp dword [ebx + 0x10], 0
je 0x4122eb
mov eax, dword [ebx + 0x14]
cmp eax, dword [edi + 0x56f70]
jne 0x412c6a
mov esi, dword [ebx + 8]
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx + 4]
cmp dword [eax + 4], 0
je 0x41230e
push dword [edi + 0x200]
push ecx
call fcn.00412ca0
test eax, eax
je 0x412c6a
mov ecx, dword [esi + 0xc]
mov eax, dword [ecx + 4]
cmp dword [eax + 4], 0
je 0x412345
cmp dword [edi + 0x56fb4], 6
jne 0x41232b
push dword [edi + 0x208]
jmp 0x412337
mov eax, dword [edi + 0x264]
push dword [eax + 0x260]
push ecx
call fcn.00412ca0
test eax, eax
je 0x412c6a
mov eax, dword [ebx + 0x50]
lea ecx, [ebx + 0x50]
mov eax, dword [eax + 4]
cmp dword [eax + 4], 0
je 0x412364
push ecx
mov ecx, edi
call fcn.00413ef0
test eax, eax
je 0x412c6a
mov eax, dword [ebx + 0x4c]
lea ecx, [ebx + 0x4c]
mov eax, dword [eax + 4]
cmp dword [eax + 4], 0
je 0x412383
push ecx
mov ecx, edi
call fcn.00413ad0
test eax, eax
je 0x412c6a
cmp dword [ebx + 0x18], 0
je 0x412427
mov ecx, dword [ebx + 0x24]
mov eax, dword [edi + 0x5712c]
test ecx, ecx
jne 0x4123b4
test eax, eax
je 0x4123dc
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.004912f2
mov esp, ebp
pop ebp
ret 4
cmp ecx, 1
jne 0x4123d3
cmp eax, ecx
je 0x4123dc
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.004912f2
mov esp, ebp
pop ebp
ret 4
cmp eax, 2
jne 0x412c6a
cmp dword [ebx + 0x28], 0
je 0x4123e7
mov esi, dword [edi + 0xc]
jmp 0x4123ea
mov esi, dword [edi + 8]
mov ecx, dword [ebx + 0x1c]
call fcn.00442d80
mov edx, dword [ebx + 0x20]
xor ecx, ecx
test edx, edx
jne 0x412402
cmp esi, eax
sete cl
jmp 0x41241f
cmp edx, 1
jne 0x412410
xor ecx, ecx
cmp esi, eax
setge cl
jmp 0x41241f
cmp edx, 2
jne 0x41241f
cmp esi, eax
mov eax, 1
cmovl ecx, eax
test ecx, ecx
je 0x412c6a
cmp dword [ebx + 0x2c], 0
je 0x41246d
mov ecx, dword [ebx + 0x30]
call fcn.00442d80
mov ecx, dword [ebx + 0x34]
mov edx, dword [edi + 0x10]
test ecx, ecx
jne 0x412446
cmp edx, eax
sete cl
jmp 0x412452
cmp ecx, 1
jne 0x41245c
xor ecx, ecx
cmp edx, eax
setge cl
test ecx, ecx
je 0x412c6a
jmp 0x41246d
cmp ecx, 2
jne 0x412c6a
cmp edx, eax
jge 0x412c6a
cmp dword [ebx + 0x38], 0
je 0x4124ed
mov ecx, dword [ebx + 0x44]
mov eax, dword [ebx + 0x48]
test ecx, ecx
jne 0x412480
push ecx
jmp 0x4124a2
cmp ecx, 1
jne 0x412490
push 0
push eax
push dword [edi + 0x28c]
jmp 0x4124a9
cmp ecx, 2
jne 0x4124a0
push 0
push eax
push dword [edi + 0x290]
jmp 0x4124a9
push 1
push eax
push dword [edi + 0x1fc]
call fcn.00414a60
mov ecx, dword [ebx + 0x3c]
mov esi, eax
call fcn.00442d80
mov ecx, dword [ebx + 0x40]
test ecx, ecx
jne 0x4124c6
cmp esi, eax
sete cl
jmp 0x4124d2
cmp ecx, 1
jne 0x4124dc
xor ecx, ecx
cmp esi, eax
setge cl
test ecx, ecx
je 0x412c6a
jmp 0x4124ed
cmp ecx, 2
jne 0x412c6a
cmp esi, eax
jge 0x412c6a
cmp dword [ebx + 0x12c], 0
je 0x41256d
mov eax, dword [ebx + 0x130]
test eax, eax
jne 0x412507
mov eax, dword [0x504f94]
jmp 0x412565
cmp eax, 1
jne 0x412519
xor eax, eax
cmp dword [0x504f94], eax
sete al
jmp 0x412565
cmp eax, 2
jne 0x41252b
xor eax, eax
cmp dword [edi + 0x571c4], eax
setg al
jmp 0x412565
cmp eax, 3
jne 0x41253d
xor eax, eax
cmp dword [edi + 0x571c4], eax
sete al
jmp 0x412565
cmp eax, 4
jne 0x41254f
xor eax, eax
cmp dword [edi + 0x4f1e0], eax
setg al
jmp 0x412565
cmp eax, 5
jne 0x412561
xor eax, eax
cmp dword [edi + 0x4f1e0], eax
sete al
jmp 0x412565
mov eax, dword [esp + 0x10]
test eax, eax
je 0x412c6a
cmp dword [ebx + 0x144], 0
je 0x412591
push dword [ebx + 0x148]
mov ecx, edi
push dword [ebx + 0x14c]
call fcn.00413670
test eax, eax
je 0x412c6a
cmp dword [ebx + 0x78], 0
je 0x4126f7
mov ecx, dword [ebx + 0x7c]
cmp ecx, 0xffffffff
jne 0x4125b4
mov eax, dword [0x4f7d20]
mov esi, dword [eax + 0x4f174]
mov dword [esp + 0x14], esi
jmp 0x4125d7
cmp ecx, 0x270f
je 0x412c6a
call fcn.00442d80
mov ecx, dword [0x4f7d20]
push eax
call fcn.0040cd10
mov esi, eax
mov dword [esp + 0x14], eax
test esi, esi
je 0x412c6a
mov ecx, dword [ebx + 0x80]
call fcn.00442d80
mov edx, eax
mov dword [esp + 0x18], edx
test edx, edx
js 0x412c6a
mov eax, dword [ebx + 0x88]
mov ecx, dword [ebx + 0x84]
mov dword [esp + 0x34], eax
lea eax, [ebx + 0x94]
mov dword [esp + 0x28], ecx
mov ecx, dword [ebx + 0x90]
mov dword [esp + 0x40], eax
lea eax, [esp + 0x28]
mov dword [esp + 0x2c], ecx
mov ecx, dword [ebx + 0x8c]
push eax
mov dword [esp + 0x34], ecx
mov ecx, dword [esi + 0x48]
push edx
mov edx, dword [esi + 0x4c]
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], esi
call fcn.00413880
add esp, 8
cmp dword [esp + 0x38], 0
jne 0x4126f7
mov eax, dword [esp + 0x18]
mov esi, 1
cmp eax, esi
jl 0x412c6a
dec eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x1c], eax
nop
lea ecx, [esp + 0x28]
push ecx
push eax
mov eax, dword [esp + 0x1c]
mov edx, dword [eax + 0x4c]
mov ecx, dword [eax + 0x48]
sub edx, esi
call fcn.00413880
add esp, 8
cmp dword [esp + 0x38], 0
jne 0x4126f7
mov eax, dword [esp + 0x1c]
inc esi
dec eax
mov dword [esp + 0x1c], eax
cmp esi, dword [esp + 0x18]
jle 0x412670
mov eax, dword [esp + 0x24]
mov esi, 1
nop word [eax + eax]
lea ecx, [esp + 0x28]
push ecx
push eax
mov eax, dword [esp + 0x1c]
mov edx, dword [eax + 0x4c]
mov ecx, dword [eax + 0x48]
add edx, esi
call fcn.00413880
add esp, 8
cmp dword [esp + 0x38], 0
jne 0x4126f7
mov eax, dword [esp + 0x24]
inc esi
dec eax
mov dword [esp + 0x24], eax
cmp esi, dword [esp + 0x18]
jle 0x4126b0
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.004912f2
mov esp, ebp
pop ebp
ret 4
cmp dword [ebx + 0x9c], 0
je 0x412808
mov ecx, dword [ebx + 0xa0]
cmp ecx, 0xffffffff
jne 0x41271c
mov eax, dword [0x4f7d20]
mov esi, dword [eax + 0x4f174]
jmp 0x41273b
cmp ecx, 0x270f
je 0x412c6a
call fcn.00442d80
mov ecx, dword [0x4f7d20]
push eax
call fcn.0040cd10
mov esi, eax
test esi, esi
je 0x412c6a
mov ecx, dword [ebx + 0xa4]
call fcn.00442d80
cmp dword [esi + 0x274], eax
jne 0x412c6a
cmp dword [ebx + 0xa8], 0
je 0x41276b
mov esi, dword [esi + 0x278]
jmp 0x412771
mov esi, dword [esi + 0x27c]
cmp esi, 0xfffffffe
je 0x412c6a
mov eax, dword [ebx + 0xb0]
xor edx, edx
mov eax, dword [eax + 4]
mov eax, dword [eax + 4]
mov ecx, eax
test ecx, ecx
je 0x4127da
nop
mov ecx, dword [ecx + 4]
inc edx
test ecx, ecx
jne 0x412790
test edx, edx
je 0x4127da
nop dword [eax]
cmp esi, dword [eax + 0xc]
je 0x4127ae
mov eax, dword [eax + 4]
test eax, eax
jne 0x4127a0
jmp 0x4127b3
mov eax, 1
mov edx, dword [ebx + 0xac]
test edx, edx
jne 0x4127c6
test eax, eax
je 0x4127d2
lea ecx, [edx + 1]
jmp 0x4127d2
cmp edx, 1
jne 0x4127d2
test eax, eax
mov eax, edx
cmove ecx, eax
test ecx, ecx
je 0x412c6a
push esi
mov ecx, edi
call fcn.0040cd10
test eax, eax
je 0x412c6a
push dword [ebx + 0xb4]
mov edx, dword [ebx + 0xb8]
mov ecx, eax
call fcn.0042f9f0
add esp, 4
test eax, eax
je 0x412c6a
cmp dword [ebx + 0xbc], 0
je 0x41289b
mov ecx, dword [ebx + 0xc0]
cmp ecx, 0xffffffff
jne 0x41282e
mov esi, dword [0x4f7d20]
mov eax, dword [esi + 0x4f174]
jmp 0x41284d
cmp ecx, 0x270f
je 0x412c6a
call fcn.00442d80
mov esi, dword [0x4f7d20]
mov ecx, esi
push eax
call fcn.0040cd10
mov dword [esp + 0x1c], eax
test eax, eax
je 0x412c6a
mov ecx, dword [ebx + 0xc4]
call fcn.00442d80
cmp dword [ebx + 0xc8], 0
mov ecx, eax
mov eax, dword [esp + 0x1c]
mov edx, dword [eax + 0x280]
je 0x412882
xor eax, eax
cmp edx, ecx
sete al
jmp 0x412891
cmp edx, ecx
mov eax, 0
mov ecx, 1
cmovne eax, ecx
test eax, eax
je 0x412c6a
jmp 0x4128a1
mov esi, dword [0x4f7d20]
cmp dword [ebx + 0x134], 0
je 0x4128eb
mov eax, dword [ebx + 0x138]
xor edx, edx
mov eax, dword [eax + 4]
mov eax, dword [eax + 4]
mov ecx, eax
test ecx, ecx
je 0x4128eb
nop
mov ecx, dword [ecx + 4]
inc edx
test ecx, ecx
jne 0x4128c0
test edx, edx
je 0x4128eb
mov ecx, dword [edi + 4]
nop
cmp ecx, dword [eax + 0xc]
je 0x4128de
mov eax, dword [eax + 4]
test eax, eax
jne 0x4128d0
jmp 0x4128e3
mov eax, 1
test eax, eax
je 0x412c6a
cmp dword [ebx + 0x13c], 0
je 0x4129c0
mov eax, dword [esp + 0x10]
mov edi, dword [ebx + 0x140]
mov eax, dword [eax + 0x56f84]
mov esi, dword [eax + 8]
lea eax, [esp + 0x58]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, 8
push edi
mov word [esp + 0x5c], ax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov esi, dword [esi + 8]
lea ecx, [esp + 0x18]
push ecx
push 0x400
push 1
lea ecx, [esp + 0x28]
mov dword [esp + 0x6c], eax
mov eax, dword [esi]
push ecx
push 0x4bb530
push esi
mov dword [0x505200], edi
mov dword [esp + 0x34], str.sys_isCondition
call dword [eax + 0x14]
test eax, eax
js 0x4129a0
push 0
push 0
lea ecx, [esp + 0x30]
mov dword [esp + 0x58], 1
push ecx
lea ecx, [esp + 0x54]
mov dword [esp + 0x60], 0
push ecx
push 1
push 0x800
lea eax, [esp + 0x70]
mov dword [esp + 0x64], 0
push 0x4bb530
push dword [esp + 0x34]
mov dword [esp + 0x68], eax
mov eax, dword [esi]
push esi
call dword [eax + 0x18]
push dword [esp + 0x60]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp word [esp + 0x30], 0xffff
jne 0x412c6a
mov edi, dword [esp + 0x10]
mov esi, dword [0x4f7d20]
cmp dword [ebx + 0x118], 0
je 0x412a0f
mov ecx, dword [ebx + 0x11c]
call fcn.00442d80
mov ecx, dword [ebx + 0x120]
mov edx, dword [edi + 0x14]
test ecx, ecx
jne 0x4129e8
cmp edx, eax
sete cl
jmp 0x4129f4
cmp ecx, 1
jne 0x4129fe
xor ecx, ecx
cmp edx, eax
setge cl
test ecx, ecx
je 0x412c6a
jmp 0x412a0f
cmp ecx, 2
jne 0x412c6a
cmp edx, eax
jge 0x412c6a
cmp dword [ebx + 0x124], 0
je 0x412a63
mov ecx, dword [ebx + 0x128]
call fcn.00442d80
mov ecx, eax
cmp ecx, 0x64
jge 0x412a63
test ecx, ecx
jle 0x412c6a
imul eax, dword [0x4f7ddc], 0x343fd
mov dword [esp + 0x10], 0x64
add eax, 0x269ec3
mov dword [0x4f7ddc], eax
shr eax, 0x10
and eax, 0x7fff
cdq
idiv dword [esp + 0x10]
cmp ecx, edx
jl 0x412c6a
cmp dword [ebx + 0xcc], 0
lea eax, [ebx + 0xcc]
je 0x412b02
mov ecx, dword [eax + 0x44]
cmp ecx, 0xffffffff
jne 0x412a86
mov edx, dword [esi + 0x4f174]
jmp 0x412aa7
cmp ecx, 0x270f
je 0x412c6a
call fcn.00442d80
push eax
mov ecx, esi
call fcn.0040cd10
mov edx, eax
lea eax, [ebx + 0xcc]
mov dword [esp + 0x10], edx
test edx, edx
je 0x412c6a
mov ecx, dword [eax + 0x48]
cmp ecx, 0xffffffff
jne 0x412ac3
mov ecx, dword [esi + 0x4f174]
jmp 0x412ae8
cmp ecx, 0x270f
je 0x412c6a
call fcn.00442d80
push eax
mov ecx, esi
call fcn.0040cd10
mov edx, dword [esp + 0x10]
mov ecx, eax
lea eax, [ebx + 0xcc]
test ecx, ecx
je 0x412c6a
push 0
push eax
push ecx
push edx
call fcn.00413420
test eax, eax
je 0x412c6a
mov eax, dword [ebx + 0xc]
mov eax, dword [eax + 4]
mov esi, dword [eax + 4]
test esi, esi
je 0x412b27
nop
push esi
mov ecx, edi
call fcn.00413320
test eax, eax
je 0x412c6a
mov esi, dword [esi + 4]
test esi, esi
jne 0x412b10
cmp dword [ebx + 0x54], 0
lea eax, [ebx + 0x54]
je 0x412b40
push eax
mov ecx, edi
call fcn.00413cb0
test eax, eax
je 0x412c6a
cmp dword [ebx + 0x150], 0
je 0x412c80
mov eax, dword [ebx + 0x158]
xor edx, edx
mov ecx, dword [0x4f7d20]
xor edi, edi
mov dword [esp + 0x14], edx
test al, 1
je 0x412b7e
mov eax, dword [ecx + 0x1fc]
mov edx, 1
mov dword [esp + 0x68], eax
mov eax, dword [ebx + 0x158]
mov dword [esp + 0x14], edx
test al, 2
je 0x412b97
mov eax, dword [ecx + 0x28c]
mov dword [esp + edx*4 + 0x68], eax
inc edx
mov eax, dword [ebx + 0x158]
mov dword [esp + 0x14], edx
test al, 4
je 0x412baa
mov eax, dword [ecx + 0x290]
mov dword [esp + edx*4 + 0x68], eax
inc edx
mov dword [esp + 0x14], edx
xor eax, eax
mov dword [esp + 0x10], eax
test edx, edx
je 0x412c05
mov eax, dword [esp + eax*4 + 0x68]
mov eax, dword [eax + 4]
mov esi, dword [eax + 4]
test esi, esi
je 0x412bf8
push dword [ebx + 0x160]
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], 0
push dword [ebx + 0x164]
mov dword [esp + 0x28], 0
push esi
call fcn.00422200
test eax, eax
je 0x412bed
inc edi
mov esi, dword [esi + 4]
test esi, esi
jne 0x412bc2
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
inc eax
mov dword [esp + 0x10], eax
cmp eax, edx
jl 0x412bb4
mov ecx, dword [ebx + 0x154]
call fcn.00442d80
mov ecx, dword [ebx + 0x15c]
test ecx, ecx
jne 0x412c3a
cmp edi, eax
sete cl
xor eax, eax
test ecx, ecx
setne al
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.004912f2
mov esp, ebp
pop ebp
ret 4
cmp ecx, 1
jne 0x412c61
xor ecx, ecx
cmp edi, eax
setge cl
xor eax, eax
test ecx, ecx
setne al
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.004912f2
mov esp, ebp
pop ebp
ret 4
cmp ecx, 2
jne 0x412c6a
cmp edi, eax
jl 0x412c80
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.004912f2
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [esp + 0x74]
mov eax, 1
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004912f2
mov esp, ebp
pop ebp
ret 4