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

Disassembly:
push 0xffffffffffffffff
push 0x47d788
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a67d0]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov edi, ecx
xor ebx, ebx
mov dword [esp + 0x14], ebx
mov ecx, dword [esp + 0x70]
lea eax, [esp + 0x14]
push eax
push str.windows
push ecx
mov dword [esp + 0x74], ebx
call fcn.0042a730
test eax, eax
jge 0x41b1db
mov eax, dword [esp + 0x14]
cmp eax, ebx
mov dword [esp + 0x68], 0xffffffff
je 0x41b1d3
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
or eax, 0xffffffff
jmp 0x41b5c0
lea ecx, [esp + 0x48]
push ecx
mov ecx, edi
call fcn.00413c50
mov dword [esp + 0x18], ebx
mov eax, dword [edi + 0x110]
cmp eax, ebx
mov byte [esp + 0x68], 1
je 0x41b1fe
mov eax, dword [eax]
jmp 0x41b200
xor eax, eax
lea edx, [esp + 0x18]
push edx
push eax
mov eax, dword [esp + 0x1c]
push str.winver
push eax
call fcn.0042ac90
test eax, eax
jge 0x41b24d
mov eax, dword [esp + 0x18]
cmp eax, ebx
mov byte [esp + 0x68], bl
je 0x41b22d
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x14]
cmp eax, ebx
mov dword [esp + 0x68], 0xffffffff
je 0x41b245
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
or eax, 0xffffffff
jmp 0x41b5c0
mov dword [esp + 0x70], ebx
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
lea edx, [esp + 0x70]
push edx
push eax
mov eax, dword [ecx + 0x30]
mov byte [esp + 0x70], 2
call eax
test eax, eax
mov eax, dword [esp + 0x70]
jge 0x41b282
cmp eax, ebx
mov byte [esp + 0x68], 1
je 0x41b219
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
jmp 0x41b219
lea edx, [esp + 0x44]
mov dword [esp + 0x44], ebx
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x20]
call eax
test eax, eax
jge 0x41b29d
mov eax, dword [esp + 0x70]
jmp 0x41b26f
xor ebp, ebp
cmp dword [esp + 0x44], ebx
jle 0x41b57d
lea esp, [esp]
mov dword [esp + 0x1c], ebx
mov eax, dword [esp + 0x70]
mov ecx, dword [eax]
lea edx, [esp + 0x1c]
push edx
push ebp
push eax
mov eax, dword [ecx + 0x1c]
mov byte [esp + 0x74], 3
call eax
test eax, eax
jl 0x41b5fd
mov dword [esp + 0x20], ebx
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x20]
push ecx
push 0x48697c
push edx
mov byte [esp + 0x74], 4
call fcn.0042b210
test eax, eax
jl 0x41b5f4
mov dword [esp + 0x24], ebx
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x24]
push eax
push str.high
push ecx
mov byte [esp + 0x74], 5
call fcn.0042b210
test eax, eax
jl 0x41b5eb
lea ecx, [esp + 0x20]
call fcn.00414200
mov edx, dword [eax]
push edx
call fcn.00462a79
add esp, 4
lea ecx, [esp + 0x24]
mov esi, eax
call fcn.00414200
mov eax, dword [eax]
push eax
call fcn.00462a79
mov ecx, dword [edi + 0x118]
add esp, 4
cmp ecx, esi
jl 0x41b549
cmp ecx, eax
jg 0x41b549
mov dword [esp + 0x28], ebx
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x28]
push ecx
push str.langs
push edx
mov byte [esp + 0x74], 6
call fcn.0042aa70
test eax, eax
jl 0x41b5d6
mov dword [esp + 0x2c], ebx
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x28]
lea eax, [esp + 0x2c]
push eax
push ecx
push str.lang
push edx
mov byte [esp + 0x78], 7
call fcn.0042ac90
test eax, eax
jl 0x41b61f
mov dword [esp + 0x34], ebx
mov ecx, dword [esp + 0x2c]
lea eax, [esp + 0x34]
push eax
push str.reslist
push ecx
mov byte [esp + 0x74], 8
call fcn.0042aa70
test eax, eax
jl 0x41b636
mov dword [esp + 0x30], ebx
mov eax, dword [esp + 0x34]
mov edx, dword [eax]
mov edx, dword [edx + 0x30]
lea ecx, [esp + 0x30]
push ecx
push eax
mov byte [esp + 0x70], 9
call edx
test eax, eax
mov eax, dword [esp + 0x30]
jl 0x41b64d
lea edx, [esp + 0x40]
mov dword [esp + 0x40], ebx
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x20]
call eax
test eax, eax
jl 0x41b67e
xor esi, esi
cmp dword [esp + 0x40], ebx
jle 0x41b4f5
lea esp, [esp]
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x38], ebx
mov eax, dword [esp + 0x30]
mov ecx, dword [eax]
lea edx, [esp + 0x38]
push edx
push esi
push eax
mov eax, dword [ecx + 0x1c]
mov byte [esp + 0x74], 0xb
call eax
test eax, eax
jl 0x41b660
mov dword [esp + 0x3c], ebx
mov edx, dword [esp + 0x38]
lea ecx, [esp + 0x3c]
push ecx
push str.value
push edx
mov byte [esp + 0x74], 0xc
call fcn.0042b210
test eax, eax
jl 0x41b684
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x5c]
call fcn.004013d0
push 0x48489c
lea ecx, [esp + 0x50]
mov dword [esp + 0x58], ebx
call fcn.00405e20
push eax
lea ecx, [esp + 0x60]
call fcn.004013d0
lea ecx, [esp + 0x4c]
call fcn.00401380
sub esp, 0xc
lea edx, [esp + 0x60]
mov ecx, esp
mov dword [esp + 0x5c], esp
push edx
call fcn.00406130
lea ecx, [edi + 0x84]
call fcn.0041a950
lea ecx, [esp + 0x3c]
call fcn.00401380
mov eax, dword [esp + 0x38]
cmp eax, ebx
mov byte [esp + 0x68], 0xa
je 0x41b4df
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea ecx, [esp + 0x54]
call fcn.00406170
add esi, 1
cmp esi, dword [esp + 0x40]
jl 0x41b420
mov eax, dword [esp + 0x30]
cmp eax, ebx
mov byte [esp + 0x68], 8
je 0x41b50a
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x34]
cmp eax, ebx
mov byte [esp + 0x68], 7
je 0x41b51f
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x2c]
cmp eax, ebx
mov byte [esp + 0x68], 6
je 0x41b534
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x28]
cmp eax, ebx
mov byte [esp + 0x68], 5
je 0x41b549
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea ecx, [esp + 0x24]
call fcn.00401380
lea ecx, [esp + 0x20]
call fcn.00401380
mov eax, dword [esp + 0x1c]
cmp eax, ebx
mov byte [esp + 0x68], 2
je 0x41b570
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
add ebp, 1
cmp ebp, dword [esp + 0x44]
jl 0x41b2b0
mov eax, dword [esp + 0x70]
cmp eax, ebx
mov byte [esp + 0x68], 1
je 0x41b592
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x18]
cmp eax, ebx
mov byte [esp + 0x68], bl
je 0x41b5a6
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x14]
cmp eax, ebx
mov dword [esp + 0x68], 0xffffffff
je 0x41b5be
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
xor eax, eax
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret 4
mov eax, dword [esp + 0x28]
cmp eax, ebx
mov byte [esp + 0x68], 5
je 0x41b5eb
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea ecx, [esp + 0x24]
call fcn.00401380
lea ecx, [esp + 0x20]
call fcn.00401380
mov eax, dword [esp + 0x1c]
cmp eax, ebx
mov byte [esp + 0x68], 2
je 0x41b297
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x70]
jmp 0x41b26f
mov eax, dword [esp + 0x2c]
cmp eax, ebx
mov byte [esp + 0x68], 6
je 0x41b5d6
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
jmp 0x41b5d6
mov eax, dword [esp + 0x34]
cmp eax, ebx
mov byte [esp + 0x68], 7
je 0x41b61f
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
jmp 0x41b61f
cmp eax, ebx
mov byte [esp + 0x68], 8
je 0x41b636
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
jmp 0x41b636
mov eax, dword [esp + 0x38]
cmp eax, ebx
mov byte [esp + 0x68], 0xa
je 0x41b675
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea ecx, [esp + 0x54]
call fcn.00406170
mov eax, dword [esp + 0x30]
jmp 0x41b64d
lea ecx, [esp + 0x3c]
call fcn.00401380
jmp 0x41b660