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

Disassembly:
sub esp, 0x4a0
push ebx
push esi
mov esi, dword [esp + 0x4ac]
push edi
xor ebx, ebx
push ebx
push 0x45ee78
mov ecx, esi
call fcn.0041bf40
mov edi, dword [esi + 0x14]
cmp edi, 0x100
ja 0x439087
mov eax, dword [esi + 0x18]
cmp eax, 0x100
je 0x439087
jae 0x439073
push edi
push 0x100
mov ecx, esi
call fcn.0041c170
cmp dword [esi + 0x18], 0x10
mov dword [esi + 0x14], edi
jb 0x439081
mov esi, dword [esi + 4]
jmp 0x439084
add esi, 4
mov byte [esi + edi], bl
xor eax, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
xor ecx, ecx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x44], ebx
cpuid
lea esi, [esp + 0xc]
mov dword [esp + 0xc], 0xffffffff
mov dword [esi], eax
mov dword [esi + 4], ebx
mov dword [esi + 8], ecx
mov dword [esi + 0xc], edx
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x38], eax
xor eax, eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x54], eax
xor edi, edi
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x50], edx
xor edx, edx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x54], eax
mov dword [esp + 0x1c], edx
mov esi, edx
push ebp
mov eax, edx
xor ecx, ecx
cpuid
lea ebp, [esp + 0x10]
mov dword [ebp], eax
mov dword [ebp + 4], ebx
mov dword [ebp + 8], ecx
mov dword [ebp + 0xc], edx
mov edx, dword [esp + 0x20]
cmp edx, 1
jne 0x4391a3
mov eax, dword [esp + 0x10]
mov ecx, eax
and ecx, 0xf
mov dword [esp + 0x38], ecx
mov ecx, eax
sar ecx, 0xc
and ecx, 3
mov edi, eax
mov esi, eax
mov dword [esp + 0x40], ecx
mov ecx, eax
sar eax, 0x14
and eax, 0xff
sar ecx, 0x10
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x14]
and ecx, 0xf
mov dword [esp + 0x44], ecx
mov ecx, eax
sar eax, 8
and eax, 0xff
add eax, eax
sar edi, 4
sar esi, 8
and ecx, 0xff
add eax, eax
and edi, 0xf
and esi, 0xf
add eax, eax
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x28], eax
inc edx
mov dword [esp + 0x20], edx
cmp edx, dword [esp + 0x3c]
jbe 0x439121
xor ecx, ecx
mov eax, 0x80000000
cpuid
lea ebp, [esp + 0x10]
mov dword [ebp], eax
mov dword [ebp + 4], ebx
mov dword [ebp + 8], ecx
mov dword [ebp + 0xc], edx
mov ebx, dword [esp + 0x10]
push 0x40
lea ecx, [esp + 0x74]
push 0
mov ebp, ebx
push ecx
mov dword [esp + 0x30], ebp
call fcn.00442d40
mov ecx, 0x80000000
add esp, 0xc
mov dword [esp + 0x20], ecx
cmp ebx, ecx
jb 0x4392eb
mov eax, ecx
xor ecx, ecx
cpuid
lea ebp, [esp + 0x10]
mov dword [ebp], eax
mov dword [ebp + 4], ebx
mov dword [ebp + 8], ecx
mov ecx, dword [esp + 0x20]
mov dword [ebp + 0xc], edx
cmp ecx, 0x80000002
jne 0x43923e
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x70], edx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x78], edx
mov dword [esp + 0x7c], eax
jmp 0x4392da
cmp ecx, 0x80000003
jne 0x439274
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x80], edx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x88], edx
mov dword [esp + 0x8c], eax
jmp 0x4392da
cmp ecx, 0x80000004
jne 0x4392aa
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x90], edx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x98], edx
mov dword [esp + 0x9c], eax
jmp 0x4392da
cmp ecx, 0x80000006
jne 0x4392da
mov eax, dword [esp + 0x18]
mov edx, eax
and edx, 0xff
mov dword [esp + 0x30], edx
mov edx, eax
sar edx, 0xc
and edx, 0xf
sar eax, 0x10
and eax, 0xffff
mov dword [esp + 0x2c], edx
mov dword [esp + 0x48], eax
mov ebp, dword [esp + 0x24]
inc ecx
mov dword [esp + 0x20], ecx
cmp ecx, ebp
jbe 0x4391f7
push 0x3ff
lea ecx, [esp + 0xb5]
push 0
push ecx
mov byte [esp + 0xbc], 0
call fcn.00442d40
lea edx, [esp + 0x5c]
push edx
lea eax, [esp + 0xc0]
push 0x464c5c
push eax
call fcn.0044168b
lea eax, [esp + 0xc8]
add esp, 0x18
lea edx, [eax + 1]
jmp 0x439330
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x439330
mov ebx, dword [esp + 0x4b4]
sub eax, edx
push eax
mov eax, dword [ebx + 0x14]
lea ecx, [esp + 0xb4]
push ecx
mov ecx, ebx
call fcn.00439600
cmp dword [esp + 0x3c], 1
jb 0x439554
mov eax, dword [esp + 0x38]
test eax, eax
je 0x43937c
push eax
lea edx, [esp + 0xb4]
push 0x464c60
push edx
call fcn.0044168b
add esp, 0xc
test edi, edi
je 0x4393bc
push edi
lea eax, [esp + 0xb4]
push 0x464c60
push eax
call fcn.0044168b
lea eax, [esp + 0xbc]
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4393a0
sub eax, edx
push eax
mov eax, dword [ebx + 0x14]
lea ecx, [esp + 0xb4]
push ecx
mov ecx, ebx
call fcn.00439600
test esi, esi
je 0x4393fc
push esi
lea edx, [esp + 0xb4]
push 0x464c60
push edx
call fcn.0044168b
lea eax, [esp + 0xbc]
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4393e0
sub eax, edx
push eax
lea eax, [esp + 0xb4]
push eax
mov eax, dword [ebx + 0x14]
mov ecx, ebx
call fcn.00439600
mov eax, dword [esp + 0x40]
test eax, eax
je 0x439440
push eax
lea ecx, [esp + 0xb4]
push 0x464c60
push ecx
call fcn.0044168b
lea eax, [esp + 0xbc]
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x439424
sub eax, edx
push eax
mov eax, dword [ebx + 0x14]
lea edx, [esp + 0xb4]
push edx
mov ecx, ebx
call fcn.00439600
mov eax, dword [esp + 0x44]
test eax, eax
je 0x439484
push eax
lea eax, [esp + 0xb4]
push 0x464c60
push eax
call fcn.0044168b
lea eax, [esp + 0xbc]
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x439468
sub eax, edx
push eax
mov eax, dword [ebx + 0x14]
lea ecx, [esp + 0xb4]
push ecx
mov ecx, ebx
call fcn.00439600
mov eax, dword [esp + 0x34]
test eax, eax
je 0x4394cc
push eax
lea edx, [esp + 0xb4]
push 0x464c60
push edx
call fcn.0044168b
lea eax, [esp + 0xbc]
add esp, 0xc
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4394b0
sub eax, edx
push eax
lea eax, [esp + 0xb4]
push eax
mov eax, dword [ebx + 0x14]
mov ecx, ebx
call fcn.00439600
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x439510
push eax
lea ecx, [esp + 0xb4]
push 0x464c60
push ecx
call fcn.0044168b
lea eax, [esp + 0xbc]
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4394f4
sub eax, edx
push eax
mov eax, dword [ebx + 0x14]
lea edx, [esp + 0xb4]
push edx
mov ecx, ebx
call fcn.00439600
mov eax, dword [esp + 0x28]
test eax, eax
je 0x439554
push eax
lea eax, [esp + 0xb4]
push 0x464c60
push eax
call fcn.0044168b
lea eax, [esp + 0xbc]
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x439538
sub eax, edx
push eax
mov eax, dword [ebx + 0x14]
lea ecx, [esp + 0xb4]
push ecx
mov ecx, ebx
call fcn.00439600
cmp ebp, 0x80000004
jb 0x43959c
lea edx, [esp + 0x70]
push edx
lea eax, [esp + 0xb4]
push 0x464c5c
push eax
call fcn.0044168b
lea eax, [esp + 0xbc]
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x439580
sub eax, edx
push eax
mov eax, dword [ebx + 0x14]
lea ecx, [esp + 0xb4]
push ecx
mov ecx, ebx
call fcn.00439600
cmp ebp, 0x80000006
pop ebp
jb 0x4395ef
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
push edx
push eax
push ecx
lea edx, [esp + 0xb8]
push 0x464c64
push edx
call fcn.0044168b
lea eax, [esp + 0xc0]
add esp, 0x14
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4395d3
sub eax, edx
push eax
lea eax, [esp + 0xb0]
push eax
mov eax, dword [ebx + 0x14]
mov ecx, ebx
call fcn.00439600
pop edi
pop esi
pop ebx
add esp, 0x4a0
ret