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

Disassembly:
push 0xffffffffffffffff
push 0x46ac03
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [0x481330]
xor eax, esp
mov dword [esp + 0x80], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x481330]
xor eax, esp
push eax
lea eax, [esp + 0x98]
mov dword fs:[0], eax
mov edi, ecx
lea eax, [esp + 0x78]
push str.309c167e
push eax
mov edx, str.Softwareprojonepodlp_smpcache_
mov ecx, reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x4c], edi
call fcn.0040b5be
add esp, 8
xor ebx, ebx
mov dword [esp + 0xa0], ebx
cmp dword [esp + 0x8c], ebx
jne 0x4041f2
mov ecx, dword [edi + 0x4d4]
mov edx, dword [ecx + 4]
lea esi, [edi + 0x4bc]
push edx
mov ecx, esi
call fcn.00402880
mov eax, dword [esi + 0x18]
mov dword [eax + 4], eax
mov eax, dword [esi + 0x18]
mov dword [esi + 0x1c], ebx
mov dword [eax], eax
mov esi, dword [esi + 0x18]
lea eax, [esp + 0x3c]
add edi, 0x4a0
push eax
mov dword [esi + 8], esi
call fcn.00406170
mov esi, dword [eax]
mov ebx, dword [eax + 4]
lea ecx, [esp + 0x2c]
push ecx
call fcn.00406110
mov edx, dword [eax + 4]
mov eax, dword [eax]
push ebx
push esi
push edx
push eax
lea ecx, [esp + 0x54]
push ecx
push edi
call fcn.00406a80
jmp 0x4044c3
lea eax, [esp + 0x4c]
push eax
call fcn.00401c30
mov byte [esp + 0xa0], 1
cmp dword [esp + 0x90], 8
mov eax, dword [esp + 0x7c]
jae 0x404216
lea eax, [esp + 0x7c]
push 0x46e1e4
push eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.0040b327
add esp, 0xc
mov byte [esp + 0xa0], 2
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
mov esi, ecx
cmp ecx, eax
jbe 0x40424c
call fcn.00451615
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov ebp, dword [esp + 0x14]
mov dword [esp + 0x2c], eax
cmp ecx, eax
jbe 0x40425d
call fcn.00451615
mov edx, dword [esp + 0x14]
mov dword [esp + 0x3c], edx
lea edi, [esi + 0x14]
xor esi, esi
cmp ebp, esi
je 0x404274
cmp ebp, dword [esp + 0x3c]
je 0x404279
call fcn.00451615
lea ebx, [edi - 0x14]
cmp ebx, dword [esp + 0x2c]
je 0x404336
cmp ebp, esi
jne 0x4042c9
call fcn.00451615
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x40429b
call fcn.00451615
cmp dword [edi], 1
jne 0x404314
cmp ebp, esi
jne 0x4042ce
call fcn.00451615
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x4042b5
call fcn.00451615
cmp dword [edi], esi
ja 0x4042be
call fcn.004510ff
cmp dword [edi + 4], 8
jb 0x4042d3
mov eax, dword [edi - 0x10]
jmp 0x4042d6
mov eax, dword [ebp]
jmp 0x404291
mov eax, dword [ebp]
jmp 0x4042ab
lea eax, [edi - 0x10]
mov al, byte [eax]
or al, 0x20
mov byte [esp + 0x34], al
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x38], esi
push ecx
lea esi, [esp + 0x3c]
call fcn.0040abfd
test eax, eax
je 0x404314
cmp dword [esp + 0x38], 0
setne al
test al, al
je 0x404314
lea edx, [esp + 0x34]
push edx
lea eax, [esp + 0x70]
push eax
lea ecx, [esp + 0x54]
push ecx
call fcn.00406480
test ebp, ebp
jne 0x404331
call fcn.00451615
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x404329
call fcn.00451615
add edi, 0x1c
jmp 0x404268
mov eax, dword [ebp]
jmp 0x40431f
mov eax, dword [esp + 0x68]
cmp eax, esi
jne 0x4043b3
mov eax, dword [esp + 0x20]
cmp eax, esi
je 0x404364
mov edx, dword [esp + 0x2c]
mov edi, dword [esp + 0x24]
push edx
call fcn.00409750
mov eax, dword [esp + 0x24]
add esp, 4
push eax
call fcn.0045164f
add esp, 4
mov ecx, dword [esp + 0x14]
push ecx
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
call fcn.0045164f
add esp, 4
lea esi, [esp + 0x4c]
mov byte [esp + 0xa0], 3
call fcn.00401cb0
mov edx, dword [esp + 0x4c]
push edx
call fcn.0045164f
add esp, 4
cmp dword [esp + 0x90], 8
jb 0x4044da
mov eax, dword [esp + 0x7c]
push eax
jmp 0x4044d2
mov esi, dword [esp + 0x44]
add esi, 0x4bc
cmp eax, dword [esi + 0x1c]
jne 0x40443b
mov eax, dword [esi + 0x18]
mov eax, dword [eax]
mov ecx, dword [esi]
mov edx, dword [esp + 0x64]
mov edi, dword [esp + 0x4c]
mov ebp, dword [edx]
mov byte [esp + 0x2c], 0
mov ebx, dword [esp + 0x2c]
push ebx
mov ebx, dword [esp + 0x30]
push ebx
push eax
push ecx
push edx
push edi
push ebp
push edi
call fcn.00409820
add esp, 0x20
test al, al
je 0x40443b
mov eax, dword [esp + 0x20]
xor ebx, ebx
cmp eax, ebx
je 0x40441c
mov ecx, dword [esp + 0x2c]
mov edi, dword [esp + 0x24]
push ecx
call fcn.00409750
mov edx, dword [esp + 0x24]
add esp, 4
push edx
call fcn.0045164f
add esp, 4
mov eax, dword [esp + 0x14]
push eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
call fcn.0045164f
mov byte [esp + 0xa4], bl
jmp 0x4044b6
lea eax, [esp + 0x4c]
cmp esi, eax
je 0x404466
mov eax, dword [esi + 0x18]
mov ecx, dword [esi]
mov edx, dword [eax]
push eax
push ecx
push edx
push ecx
lea ecx, [esp + 0x4c]
push ecx
mov eax, esi
call fcn.00402130
lea edx, [esp + 0x4c]
push edx
mov eax, esi
call fcn.00406fd0
mov eax, dword [esp + 0x44]
push eax
call fcn.00404510
mov eax, dword [esp + 0x20]
xor esi, esi
cmp eax, esi
je 0x404498
mov ecx, dword [esp + 0x2c]
mov edi, dword [esp + 0x24]
push ecx
call fcn.00409750
mov edx, dword [esp + 0x24]
add esp, 4
push edx
call fcn.0045164f
add esp, 4
mov eax, dword [esp + 0x14]
push eax
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
call fcn.0045164f
mov byte [esp + 0xa4], 0
add esp, 4
lea ecx, [esp + 0x4c]
push ecx
call fcn.00401920
cmp dword [esp + 0x90], 8
jb 0x4044da
mov edx, dword [esp + 0x7c]
push edx
call fcn.0045164f
add esp, 4
mov ecx, dword [esp + 0x98]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x80]
xor ecx, esp
call fcn.00451137
add esp, 0x90
ret