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

Disassembly:
sub esp, 0x254
mov eax, dword [0x6b66bc]
xor eax, esp
mov dword [esp + 0x250], eax
mov eax, dword [esp + 0x27c]
push ebx
push ebp
mov ebp, dword [esp + 0x288]
push esi
push edi
mov esi, ecx
mov dword [esp + 0x20], eax
push str.LoadLocalizedResourcesFromPaths
lea ecx, [esp + 0x144]
mov dword [esp + 0x2c], ebp
call fcn.00487410
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword fs:[0x2c]
neg eax
mov edx, dword [0x757724]
mov dword [esp + 0x14], eax
mov esi, dword [ecx + edx*4]
mov ecx, dword [0x6e1300]
cmp ecx, dword [esi + 8]
jg 0x46b2de
mov eax, dword [0x6e1310]
cmp eax, dword [esi + 8]
jg 0x46b31e
jmp 0x46a984
mov ax, word [ecx]
add ecx, 2
test ax, ax
je 0x46b3ee
jmp 0x46a973
mov eax, dword [esp + 0x26c]
test eax, eax
jle 0x46ac21
mov ebx, dword [esp + 0x268]
lea eax, [eax + eax*2]
lea eax, [ebx + eax*4]
mov dword [esp + 0x1c], eax
cmp ebx, eax
je 0x46ac21
nop dword [eax]
call fcn.004218a0
cmp dword [ebx + 4], 0
mov edx, eax
je 0x46a9c1
mov ecx, dword [ebx]
jmp 0x46a9c6
mov ecx, 0x60f5ec
mov eax, dword [edx]
push ecx
mov ecx, edx
mov eax, dword [eax + 0x2c]
call eax
test al, al
je 0x46ac10
push 1
lea eax, [esp + 0x114]
push ebx
push eax
call fcn.004a5010
add esp, 0xc
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [esp + 0x44], ecx
mov ecx, dword [eax + 8]
mov dword [eax + 8], 0
mov eax, edx
neg eax
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], ecx
sbb eax, eax
add eax, 9
add eax, edx
cmp eax, ecx
jle 0x46aa2c
push eax
lea ecx, [esp + 0x48]
call fcn.0040ce40
push 8
push str..locmeta
lea ecx, [esp + 0x4c]
call fcn.0040edd0
mov eax, dword [esp + 0x110]
mov ebp, dword [esp + 0x44]
mov esi, dword [esp + 0x48]
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
test eax, eax
je 0x46aa70
push eax
call fcn.0043f8f0
add esp, 4
mov edi, dword [ebx + 4]
lea eax, [esi - 1]
neg esi
mov dword [esp + 0xdc], 0
xorps xmm0, xmm0
sbb esi, esi
and esi, eax
movups xmmword [esp + 0xbc], xmm0
movups xmmword [esp + 0xcc], xmm0
test edi, edi
jne 0x46aaa8
lea eax, [esi + 1]
test eax, eax
lea eax, [edi + 2]
jne 0x46aaad
mov eax, 1
mov ecx, dword [ebx]
add eax, esi
mov dword [esp + 0x74], 0
mov dword [esp + 0x24], ecx
mov dword [esp + 0x104], edi
mov dword [esp + 0x78], edi
test edi, edi
jne 0x46aad6
test eax, eax
jne 0x46aad6
mov dword [esp + 0x7c], eax
jmp 0x46aaf8
push 0
add eax, edi
lea ecx, [esp + 0x78]
push eax
call fcn.0040cd80
lea eax, [edi + edi]
push eax
push dword [esp + 0x28]
push dword [esp + 0x7c]
call fcn.005f7171
add esp, 0xc
push esi
push ebp
lea ecx, [esp + 0x7c]
call fcn.00411080
lea eax, [esp + 0x74]
push eax
lea ecx, [esp + 0xc0]
call fcn.0047f6c0
mov ecx, dword [esp + 0x74]
mov byte [esp + 0x13], al
test ecx, ecx
je 0x46ab2d
push ecx
call fcn.0043f8f0
mov al, byte [esp + 0x17]
add esp, 4
test al, al
je 0x46ab9a
cmp dword [esp + 0xc0], 1
jle 0x46ab9a
lea eax, [esp + 0xbc]
push eax
lea ecx, [esp + 0x288]
call fcn.004503b0
test al, al
jne 0x46ab9a
push dword [esp + 0x14]
lea eax, [esp + 0xcc]
push eax
lea eax, [esp + 0x124]
push eax
call fcn.004a5210
add esp, 8
lea ecx, [esp + 0x17]
push eax
lea eax, [esp + 0xc4]
push eax
push ebx
push dword [esp + 0x30]
call fcn.004590f0
mov eax, dword [esp + 0x11c]
test eax, eax
je 0x46ab9a
push eax
call fcn.0043f8f0
add esp, 4
mov edi, dword [esp + 0xd8]
mov esi, dword [esp + 0xd4]
test edi, edi
je 0x46abce
nop dword [eax]
mov eax, dword [esi]
test eax, eax
je 0x46abbf
push eax
call fcn.0043f8f0
add esp, 4
add esi, 0xc
sub edi, 1
jne 0x46abb0
mov esi, dword [esp + 0xd4]
test esi, esi
je 0x46abdb
push esi
call fcn.0043f8f0
add esp, 4
mov eax, dword [esp + 0xc8]
test eax, eax
je 0x46abef
push eax
call fcn.0043f8f0
add esp, 4
mov eax, dword [esp + 0xbc]
test eax, eax
je 0x46ac03
push eax
call fcn.0043f8f0
add esp, 4
test ebp, ebp
je 0x46ac10
push ebp
call fcn.0043f8f0
add esp, 4
add ebx, 0xc
cmp ebx, dword [esp + 0x1c]
jne 0x46a9b0
mov ebp, dword [esp + 0x28]
cmp byte [0x700579], 0
je 0x46adb1
test byte [esp + 0x280], 0x20
jne 0x46adb1
cmp dword [esp + 0x27c], 0
jle 0x46adb1
lea eax, [esp + 0xe0]
push 0
push eax
call fcn.0047ea20
add esp, 8
cmp dword [esp + 0xe4], 1
jle 0x46ad9d
mov eax, dword [esp + 0x27c]
mov esi, dword [esp + 0x278]
lea eax, [eax + eax*2]
lea edi, [esi + eax*4]
cmp esi, edi
je 0x46ad9d
call fcn.004218a0
cmp dword [esi + 4], 0
mov edx, eax
je 0x46ac97
mov ecx, dword [esi]
jmp 0x46ac9c
mov ecx, 0x60f5ec
mov eax, dword [edx]
push ecx
mov ecx, edx
mov eax, dword [eax + 0x2c]
call eax
test al, al
je 0x46ad92
push 1
lea eax, [esp + 0x12c]
push esi
push eax
call fcn.004a5010
add esp, 0xc
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [esp + 0x38], ecx
mov ecx, dword [eax + 8]
mov dword [eax + 8], 0
mov eax, edx
neg eax
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], ecx
sbb eax, eax
add eax, 8
add eax, edx
cmp eax, ecx
jle 0x46ad02
push eax
lea ecx, [esp + 0x3c]
call fcn.0040ce40
push 7
push str..locres
lea ecx, [esp + 0x40]
call fcn.0040edd0
mov eax, dword [esp + 0x38]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x128]
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
test eax, eax
je 0x46ad5f
push eax
call fcn.0043f8f0
add esp, 4
push dword [esp + 0x14]
lea eax, [esp + 0x88]
push eax
lea eax, [esp + 0xe8]
push eax
push esi
push ebp
lea ecx, [esp + 0x27]
call fcn.004590f0
mov eax, dword [esp + 0x84]
test eax, eax
je 0x46ad92
push eax
call fcn.0043f8f0
add esp, 4
add esi, 0xc
cmp esi, edi
jne 0x46ac86
mov eax, dword [esp + 0xe0]
test eax, eax
je 0x46adb1
push eax
call fcn.0043f8f0
add esp, 4
cmp dword [esp + 0x274], 0
jle 0x46b2b7
mov edx, dword [esp + 0x288]
xor esi, esi
mov dword [esp + 0x18], esi
test edx, edx
jle 0x46b2b7
xor ebx, ebx
mov dword [esp + 0x24], ebx
nop word [eax + eax]
mov ecx, esi
mov dword [esp + 0x80], esi
not ecx
xor eax, eax
shr ecx, 0x1f
cmp esi, edx
cmovl eax, ecx
test eax, eax
jne 0x46ae2e
lea eax, [esp + 0x80]
mov dword [esp + 0xb4], eax
lea eax, [esp + 0x284]
mov dword [esp + 0xb8], eax
lea eax, [esp + 0xb4]
push eax
call fcn.0060b410
add esp, 4
nop
int3
mov ebp, dword [esp + 0x284]
mov eax, dword [esp + 0x274]
add ebp, ebx
mov ebx, dword [esp + 0x270]
mov dword [esp + 0x1c], ebp
lea eax, [eax + eax*2]
lea edi, [ebx + eax*4]
mov dword [esp + 0x20], edi
cmp ebx, edi
je 0x46b29f
nop dword [eax + eax]
call fcn.004218a0
cmp dword [ebx + 4], 0
mov edx, eax
je 0x46ae71
mov ecx, dword [ebx]
jmp 0x46ae76
mov ecx, 0x60f5ec
mov eax, dword [edx]
push ecx
mov ecx, edx
mov eax, dword [eax + 0x2c]
call eax
test al, al
je 0x46b289
push 1
lea eax, [esp + 0x138]
push ebx
push eax
call fcn.004a5010
add esp, 0xc
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [esp + 0x2c], ecx
mov ecx, dword [eax + 8]
mov dword [eax + 8], 0
mov eax, edx
neg eax
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], ecx
sbb eax, eax
add eax, 8
add eax, edx
cmp eax, ecx
jle 0x46aedc
push eax
lea ecx, [esp + 0x30]
call fcn.0040ce40
push 7
push str..locres
lea ecx, [esp + 0x34]
call fcn.0040edd0
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x134]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
test eax, eax
je 0x46af30
push eax
call fcn.0043f8f0
add esp, 4
call fcn.0047ddf0
mov esi, eax
cmp dword [esi + 4], 0
jle 0x46af91
push 1
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0xf4]
push eax
call fcn.004a5010
add esp, 0xc
lea eax, [esp + 0xec]
mov ecx, esi
push eax
call fcn.004503b0
test al, al
mov eax, dword [esp + 0xec]
je 0x46af84
test eax, eax
je 0x46b278
push eax
call fcn.0043f8f0
add esp, 4
jmp 0x46b278
test eax, eax
je 0x46af91
push eax
call fcn.0043f8f0
add esp, 4
mov esi, dword [ebp + 4]
mov edi, dword [ebx + 4]
lea eax, [esi - 1]
neg esi
sbb esi, esi
and esi, eax
test edi, edi
jne 0x46afae
lea eax, [esi + 1]
test eax, eax
lea eax, [edi + 2]
jne 0x46afb3
mov eax, 1
mov ebp, dword [ebx]
add eax, esi
mov dword [esp + 0x68], 0
mov dword [esp + 0x108], edi
mov dword [esp + 0x6c], edi
test edi, edi
jne 0x46afd8
test eax, eax
jne 0x46afd8
mov dword [esp + 0x70], eax
jmp 0x46aff7
push 0
add eax, edi
lea ecx, [esp + 0x6c]
push eax
call fcn.0040cd80
lea eax, [edi + edi]
push eax
push ebp
push dword [esp + 0x70]
call fcn.005f7171
add esp, 0xc
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x68]
push esi
push dword [eax]
call fcn.00411080
mov esi, dword [esp + 0x60]
test esi, esi
je 0x46b012
dec esi
jmp 0x46b014
xor esi, esi
cmp dword [esp + 0x6c], 0
jne 0x46b027
lea eax, [esi + 1]
test eax, eax
mov eax, 2
jne 0x46b02c
mov eax, 1
add eax, esi
lea ecx, [esp + 0xf8]
push eax
lea eax, [esp + 0x6c]
push eax
call fcn.0040d930
push esi
push dword [esp + 0x60]
lea ecx, [esp + 0x100]
call fcn.00411080
mov eax, dword [esp + 0x68]
test eax, eax
je 0x46b062
push eax
call fcn.0043f8f0
add esp, 4
mov eax, dword [esp + 0x18]
add eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x28]
push eax
lea eax, [esp + 0xfc]
push eax
call fcn.0047f7a0
mov edi, dword [0x6e12f8]
test edi, edi
je 0x46b089
dec edi
jmp 0x46b08b
xor edi, edi
mov esi, dword [ebx + 4]
test esi, esi
jne 0x46b09c
lea eax, [edi + 1]
test eax, eax
lea eax, [esi + 2]
jne 0x46b0a1
mov eax, 1
mov ebp, dword [ebx]
add eax, edi
mov dword [esp + 0x50], 0
mov dword [esp + 0x10c], esi
mov dword [esp + 0x54], esi
test esi, esi
jne 0x46b0c6
test eax, eax
jne 0x46b0c6
mov dword [esp + 0x58], eax
jmp 0x46b0e5
push 0
add eax, esi
lea ecx, [esp + 0x54]
push eax
call fcn.0040cd80
lea eax, [esi + esi]
push eax
push ebp
push dword [esp + 0x58]
call fcn.005f7171
add esp, 0xc
push edi
push dword [0x6e12f4]
lea ecx, [esp + 0x58]
call fcn.00411080
mov esi, dword [0x6e1308]
test esi, esi
je 0x46b102
dec esi
jmp 0x46b104
xor esi, esi
cmp dword [esp + 0x54], 0
jne 0x46b117
lea eax, [esi + 1]
test eax, eax
mov eax, 2
jne 0x46b11c
mov eax, 1
add eax, esi
lea ecx, [esp + 0x9c]
push eax
lea eax, [esp + 0x54]
push eax
call fcn.0040d930
push esi
push dword [0x6e1304]
lea ecx, [esp + 0xa4]
call fcn.00411080
mov ebp, dword [esp + 0x1c]
mov esi, dword [ebp + 4]
lea eax, [esi - 1]
neg esi
sbb esi, esi
and esi, eax
cmp dword [esp + 0xa0], 0
jne 0x46b169
lea eax, [esi + 1]
test eax, eax
mov eax, 2
jne 0x46b16e
mov eax, 1
add eax, esi
lea ecx, [esp + 0x90]
push eax
lea eax, [esp + 0xa0]
push eax
call fcn.0040d930
push esi
push dword [ebp]
lea ecx, [esp + 0x98]
call fcn.00411080
mov esi, dword [esp + 0x60]
test esi, esi
je 0x46b1a0
dec esi
jmp 0x46b1a2
xor esi, esi
cmp dword [esp + 0x94], 0
jne 0x46b1b8
lea eax, [esi + 1]
test eax, eax
mov eax, 2
jne 0x46b1bd
mov eax, 1
add eax, esi
lea ecx, [esp + 0xa8]
push eax
lea eax, [esp + 0x94]
push eax
call fcn.0040d930
push esi
push dword [esp + 0x60]
lea ecx, [esp + 0xb0]
call fcn.00411080
mov eax, dword [esp + 0x90]
test eax, eax
je 0x46b1f9
push eax
call fcn.0043f8f0
add esp, 4
mov eax, dword [esp + 0x9c]
test eax, eax
je 0x46b20d
push eax
call fcn.0043f8f0
add esp, 4
mov eax, dword [esp + 0x50]
test eax, eax
je 0x46b21e
push eax
call fcn.0043f8f0
add esp, 4
lea eax, [esp + 0xa8]
push eax
call fcn.004a3700
add esp, 4
test al, al
je 0x46b24c
mov eax, dword [esp + 0x18]
add eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x28]
push eax
lea eax, [esp + 0xac]
push eax
call fcn.0047f7a0
mov eax, dword [esp + 0xa8]
test eax, eax
je 0x46b260
push eax
call fcn.0043f8f0
add esp, 4
mov eax, dword [esp + 0xf8]
test eax, eax
je 0x46b274
push eax
call fcn.0043f8f0
add esp, 4
mov edi, dword [esp + 0x20]
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x46b289
push eax
call fcn.0043f8f0
add esp, 4
add ebx, 0xc
cmp ebx, edi
jne 0x46ae60
mov edx, dword [esp + 0x288]
mov esi, dword [esp + 0x18]
mov ebx, dword [esp + 0x24]
inc esi
add ebx, 0xc
mov dword [esp + 0x18], esi
mov dword [esp + 0x24], ebx
cmp esi, edx
jl 0x46ade0
lea ecx, [esp + 0x140]
call fcn.004879b0
mov ecx, dword [esp + 0x260]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.005f4480
add esp, 0x254
ret 0x2c
push 0x6e1300
call fcn.005f48b1
add esp, 4
cmp dword [0x6e1300], 0xffffffff
jne 0x46a960
push 0x6e12f4
call fcn.004a5f30
push 0x605e90
call fcn.005f4769
push 0x6e1300
call fcn.005f4867
add esp, 0xc
jmp 0x46a960
push 0x6e1310
call fcn.005f48b1
add esp, 4
cmp dword [0x6e1310], 0xffffffff
jne 0x46a984
lea eax, [esp + 0x154]
mov dword [esp + 0x254], 0
xor bl, bl
mov dword [esp + 0x25c], 7
mov dword [esp + 0x258], eax
xor edx, edx
jmp 0x46b362
mov cl, byte [edx + str.Windows]
movsx ax, cl
test cl, cl
mov word [esp + edx*2 + 0x154], ax
sets al
inc edx
or bl, al
cmp edx, 8
jl 0x46b362
test bl, bl
je 0x46b3ba
xor eax, eax
lea ecx, [eax + 0x3f]
jmp 0x46b390
cmp byte [eax + str.Windows], 0
jge 0x46b3a3
mov word [esp + eax*2 + 0x154], cx
jmp 0x46b3a3
inc eax
cmp eax, 8
jl 0x46b390
push 8
push str.Windows
call fcn.004155b0
add esp, 8
jmp 0x46b3ba
mov esi, dword [esp + 0x258]
xor edx, edx
xor ebx, ebx
mov dword [0x6e1304], 0
mov dword [0x6e1308], edx
mov dword [0x6e130c], ebx
test esi, esi
je 0x46b440
cmp word [esi], dx
je 0x46b440
mov ecx, esi
lea edi, [ecx + 2]
jmp 0x46a973
sub ecx, edi
sar ecx, 1
lea edi, [ecx + 1]
test edi, edi
jle 0x46b412
push edi
mov ecx, 0x6e1304
call fcn.0040ce40
mov ebx, dword [0x6e130c]
mov edx, dword [0x6e1308]
jmp 0x46b412
lea eax, [edi + edx]
mov dword [0x6e1308], eax
cmp eax, ebx
jle 0x46b42b
push edx
mov ecx, 0x6e1304
call fcn.0040cde0
jmp 0x46b42b
lea eax, [edi + edi]
push eax
push esi
push dword [0x6e1304]
call fcn.004263f0
add esp, 0xc
jmp 0x46b440
mov eax, dword [esp + 0x254]
test eax, eax
je 0x46b456
push eax
call fcn.0043f8f0
add esp, 4
jmp 0x46b456
push 0x605eb0
call fcn.005f4769
push 0x6e1310
call fcn.005f4867
add esp, 8
jmp 0x46a984