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

Disassembly:
push 0xffffffffffffffff
push 0x465508
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x480250]
xor eax, esp
mov dword [esp + 0x48], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x480250]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov eax, dword [esp + 0x7c]
mov ebp, dword [esp + 0x74]
mov esi, dword [esp + 0x78]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x84]
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x88]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], edx
mov dword [esp + 0x3c], eax
xor ebx, ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x14], ebx
mov byte [esp + 0x68], 1
mov edi, dword [esp + 0x70]
cmp edi, ebx
jne 0x4132ab
push 0x80004003
call fcn.00463080
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x4132ab
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x18]
push edx
mov dword [esp + 0x1c], ebx
mov eax, dword [edi]
mov eax, dword [eax + 0xc]
push 1
push edi
call eax
cmp dword [esp + 0x38], 1
jne 0x4138ce
cmp dword [esp + 0x14], ebx
jne 0x4132de
push 0x80004003
call fcn.00463080
mov edi, dword [esp + 0x14]
lea eax, [esp + 0x18]
call fcn.00411da0
mov byte [esp + 0x68], 2
mov edi, dword [eax]
cmp edi, ebx
je 0x41330b
cmp dword [edi + 4], ebx
jne 0x413306
mov ecx, dword [edi]
push ecx
call fcn.004632a0
mov dword [edi + 4], eax
mov edi, dword [edi + 4]
jmp 0x41330d
xor edi, edi
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x413312
sub eax, edx
push eax
push edi
mov ecx, esi
call fcn.004028a0
mov byte [esp + 0x68], 1
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x41336d
mov esi, eax
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
cmp eax, ebx
jne 0x41336d
cmp esi, ebx
je 0x41336d
mov eax, dword [esi]
cmp eax, ebx
je 0x413354
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x413364
push eax
call fcn.0044f33d
add esp, 4
push esi
call fcn.0044e982
add esp, 4
cmp dword [esp + 0x14], ebx
jne 0x41337d
push 0x80004003
call fcn.00463080
mov edi, dword [esp + 0x14]
lea eax, [esp + 0x18]
call fcn.00411de0
mov byte [esp + 0x68], 3
mov esi, dword [eax]
cmp esi, ebx
je 0x4133aa
cmp dword [esi + 4], ebx
jne 0x4133a5
mov edx, dword [esi]
push edx
call fcn.004632a0
mov dword [esi + 4], eax
mov esi, dword [esi + 4]
jmp 0x4133ac
xor esi, esi
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x4133b1
sub eax, edx
push eax
push esi
mov ecx, ebp
call fcn.004028a0
mov byte [esp + 0x68], 1
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x41340c
mov esi, eax
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
cmp eax, ebx
jne 0x41340c
cmp esi, ebx
je 0x41340c
mov eax, dword [esi]
cmp eax, ebx
je 0x4133f3
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x413403
push eax
call fcn.0044f33d
add esp, 4
push esi
call fcn.0044e982
add esp, 4
cmp dword [esp + 0x14], ebx
jne 0x41341c
push 0x80004003
call fcn.00463080
mov edi, dword [esp + 0x14]
lea eax, [esp + 0x18]
call fcn.00411ea0
mov byte [esp + 0x68], 4
mov esi, dword [eax]
cmp esi, ebx
je 0x413449
cmp dword [esi + 4], ebx
jne 0x413444
mov eax, dword [esi]
push eax
call fcn.004632a0
mov dword [esi + 4], eax
mov esi, dword [esi + 4]
jmp 0x41344b
xor esi, esi
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x413450
mov ecx, dword [esp + 0x20]
sub eax, edx
push eax
push esi
call fcn.004028a0
mov byte [esp + 0x68], 1
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x4134ad
mov esi, eax
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
cmp eax, ebx
jne 0x4134ad
cmp esi, ebx
je 0x4134ad
mov eax, dword [esi]
cmp eax, ebx
je 0x413494
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x4134a4
push eax
call fcn.0044f33d
add esp, 4
push esi
call fcn.0044e982
add esp, 4
cmp dword [esp + 0x14], ebx
jne 0x4134bd
push 0x80004003
call fcn.00463080
mov edi, dword [esp + 0x14]
lea eax, [esp + 0x18]
call fcn.00411e20
mov byte [esp + 0x68], 5
mov esi, dword [eax]
cmp esi, ebx
je 0x4134ea
cmp dword [esi + 4], ebx
jne 0x4134e5
mov ecx, dword [esi]
push ecx
call fcn.004632a0
mov dword [esi + 4], eax
mov esi, dword [esi + 4]
jmp 0x4134ec
xor esi, esi
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x4134f1
mov ecx, dword [esp + 0x1c]
sub eax, edx
push eax
push esi
call fcn.004028a0
mov byte [esp + 0x68], 1
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x41354e
mov esi, eax
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
cmp eax, ebx
jne 0x41354e
cmp esi, ebx
je 0x41354e
mov eax, dword [esi]
cmp eax, ebx
je 0x413535
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x413545
push eax
call fcn.0044f33d
add esp, 4
push esi
call fcn.0044e982
add esp, 4
cmp dword [esp + 0x14], ebx
jne 0x41355e
push 0x80004003
call fcn.00463080
mov edi, dword [esp + 0x14]
lea eax, [esp + 0x18]
call fcn.00411e60
mov byte [esp + 0x68], 6
mov esi, dword [eax]
cmp esi, ebx
je 0x41358b
cmp dword [esi + 4], ebx
jne 0x413586
mov edx, dword [esi]
push edx
call fcn.004632a0
mov dword [esi + 4], eax
mov esi, dword [esi + 4]
jmp 0x41358d
xor esi, esi
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x413592
mov ecx, dword [esp + 0x2c]
sub eax, edx
push eax
push esi
call fcn.004028a0
mov byte [esp + 0x68], 1
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x4135ef
mov esi, eax
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
cmp eax, ebx
jne 0x4135ef
cmp esi, ebx
je 0x4135ef
mov eax, dword [esi]
cmp eax, ebx
je 0x4135d6
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x4135e6
push eax
call fcn.0044f33d
add esp, 4
push esi
call fcn.0044e982
add esp, 4
cmp dword [esp + 0x14], ebx
jne 0x4135ff
push 0x80004003
call fcn.00463080
mov esi, dword [esp + 0x14]
lea edi, [esp + 0x30]
call fcn.00411ee0
mov byte [esp + 0x68], 7
mov esi, dword [esp + 0x30]
cmp esi, ebx
jne 0x413623
push 0x80004003
call fcn.00463080
mov eax, dword [esi]
mov edx, dword [eax + 0xc]
lea ecx, [esp + 0x1c]
push ecx
push esi
mov dword [esp + 0x24], ebx
call edx
cmp eax, ebx
jge 0x413644
push 0x46f3e8
push esi
push eax
call fcn.00463090
movzx eax, word [esp + 0x1c]
cmp eax, 0x1003
jg 0x413713
je 0x4136c0
cmp eax, 3
je 0x4136c0
cmp eax, 8
jne 0x4138b9
lea eax, [esp + 0x30]
lea ecx, [esp + 0x20]
call fcn.00414740
mov byte [esp + 0x68], 9
mov esi, dword [esp + 0x20]
cmp esi, ebx
jne 0x413688
push 0x80004003
call fcn.00463080
mov eax, dword [esi]
mov edx, dword [eax + 0xc]
lea ecx, [esp + 0x1c]
push ecx
push esi
mov dword [esp + 0x24], ebx
call edx
cmp eax, ebx
jge 0x4136a9
push 0x46f418
push esi
push eax
call fcn.00463090
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x28]
mov dword [ecx], eax
mov byte [esp + 0x68], 7
mov edx, dword [esi]
push esi
jmp 0x4138b4
lea eax, [esp + 0x30]
lea ecx, [esp + 0x20]
call fcn.00414700
mov byte [esp + 0x68], 8
mov esi, dword [esp + 0x20]
cmp esi, ebx
jne 0x4136e4
push 0x80004003
call fcn.00463080
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x34]
mov ecx, dword [esi]
mov ecx, dword [ecx + 0xc]
push edx
push eax
push esi
call ecx
cmp eax, ebx
jge 0x413706
push 0x46f408
push esi
push eax
call fcn.00463090
mov byte [esp + 0x68], 7
mov edx, dword [esi]
push esi
jmp 0x4138b4
sub eax, 0x2003
je 0x413723
sub eax, 5
jne 0x4138b9
lea edx, [esp + 0x1c]
push edx
mov dword [esp + 0x20], ebx
mov ecx, dword [esi]
mov eax, dword [ecx]
push 0x46f428
push esi
call eax
mov byte [esp + 0x68], 0xa
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x24]
mov dword [esp + 0x24], ebx
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0xc]
call eax
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x20]
push ecx
push 1
push edx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x38], ebx
call dword [sym.imp.OLEAUT32.dll_SafeArrayLock]
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x2c]
push eax
push 1
push ecx
call dword [sym.imp.OLEAUT32.dll_SafeArrayGetLBound]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x20]
add edx, 1
cmp eax, edx
mov dword [esp + 0x28], eax
jge 0x4138a4
mov ebp, 0xf
lea ebx, [ebx]
mov edx, dword [esp + 0x24]
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x2c]
push ecx
push edx
call dword [sym.imp.OLEAUT32.dll_SafeArrayPutElement]
mov edi, dword [esp + 0x34]
lea eax, [esp + 0x18]
push eax
call fcn.00411aa0
mov byte [esp + 0x68], 0xb
mov esi, dword [eax]
cmp esi, ebx
je 0x4137e3
cmp dword [esi + 4], ebx
jne 0x4137de
mov ecx, dword [esi]
push ecx
call fcn.004632a0
mov dword [esi + 4], eax
mov esi, dword [esi + 4]
jmp 0x4137e5
xor esi, esi
mov eax, esi
mov dword [esp + 0x58], ebp
mov dword [esp + 0x54], ebx
mov byte [esp + 0x44], bl
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x4137f6
sub eax, edx
push eax
push esi
lea ecx, [esp + 0x48]
call fcn.004028a0
mov byte [esp + 0x68], 0xd
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x413857
mov esi, eax
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
cmp eax, ebx
jne 0x413853
cmp esi, ebx
je 0x413853
mov eax, dword [esi]
cmp eax, ebx
je 0x41383a
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x41384a
push eax
call fcn.0044f33d
add esp, 4
push esi
call fcn.0044e982
add esp, 4
mov dword [esp + 0x18], ebx
mov esi, dword [esp + 0x3c]
lea edx, [esp + 0x40]
push edx
call fcn.00405c60
mov byte [esp + 0x68], 0xa
cmp dword [esp + 0x58], 0x10
jb 0x41387e
mov eax, dword [esp + 0x44]
push eax
call fcn.0044e982
add esp, 4
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
add eax, 1
add ecx, 1
cmp eax, ecx
mov dword [esp + 0x58], ebp
mov dword [esp + 0x54], ebx
mov byte [esp + 0x44], bl
mov dword [esp + 0x28], eax
jl 0x4137a0
mov byte [esp + 0x68], 7
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x4138b9
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov byte [esp + 0x68], 1
mov eax, dword [esp + 0x30]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov edi, dword [esp + 0x70]
mov esi, dword [esp + 0x38]
mov byte [esp + 0x68], bl
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x4138e6
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x68], 0xffffffff
mov eax, dword [edi]
mov ecx, dword [eax + 8]
push edi
call ecx
mov eax, esi
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.0044e7cc
add esp, 0x58
ret 0x20