Function at 0x46f780
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14c
mov eax, dword [0x4f5470]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor ebx, ebx
mov esi, ecx
push 0x4d67d4
mov dword [ebp - 0x84], ebx
call fcn.00406440
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [ebp - 0x1c]
call fcn.0040aa10
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x9c]
push eax
call fcn.00410170
pop ecx
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x1c]
call fcn.00408290
and dword [ebp - 0x6c], ebx
lea ecx, [ebp - 0x9c]
mov edi, str.wow_lang
mov dword [ebp - 0x68], 0xf
push edi
mov byte [ebp - 0x7c], bl
call fcn.00410690
test al, al
je 0x46f833
push edi
lea ecx, [ebp - 0x1c]
call fcn.00406440
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x9c]
call fcn.00410710
push eax
lea ecx, [ebp - 0x7c]
call fcn.0040f020
push ebx
push 1
lea ecx, [ebp - 0x4c]
call fcn.00407aa0
push ebx
push 1
lea ecx, [ebp - 0x1c]
call fcn.00407aa0
lea eax, [ebp - 0x7c]
mov byte [ebp - 0x7d], bl
push esi
push eax
call fcn.0046fb60
pop ecx
pop ecx
test al, al
je 0x46f88f
cmp dword [esi + 0x10], ebx
je 0x46f88f
call fcn.0040a000
test eax, eax
jg 0x46f87e
push 0
push 0x1ac
xor ebx, ebx
lea ecx, [ebp - 0x14c]
push str.d:webapps_b_build_slave_repo_build_srcwow_basei18nwow_distribution_i18n.cc
inc ebx
call fcn.0040a070
add eax, 8
push str.Got_locale_from_the_command_line.
push eax
call fcn.00408da0
pop ecx
pop ecx
test bl, 1
je 0x46fa52
and ebx, 0xfffffffe
jmp 0x46f99e
lea ecx, [ebp - 0x1c]
call fcn.00405570
lea eax, [ebp - 0x1c]
push eax
call fcn.0046fe62
mov edi, str.d:webapps_b_build_slave_repo_build_srcwow_basei18nwow_distribution_i18n.cc
pop ecx
test al, al
je 0x46f93f
push str.target_locale
lea ecx, [ebp - 0x4c]
call fcn.0040aa10
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00405dd0
push 0
push 1
lea ecx, [ebp - 0x4c]
call fcn.00408290
cmp dword [ebp - 0x24], ebx
je 0x46f937
lea eax, [ebp - 0x34]
push esi
push eax
call fcn.0046fc87
pop ecx
pop ecx
test al, al
je 0x46f937
cmp dword [esi + 0x10], ebx
je 0x46f937
call fcn.0040a000
test eax, eax
jg 0x46f920
push 2
pop ebx
push 0
push 0x1ba
push edi
lea ecx, [ebp - 0x14c]
call fcn.0040a070
add eax, 8
push str.Got_locale_from_target_locale_file.
push eax
call fcn.00408da0
pop ecx
pop ecx
test bl, 2
je 0x46f933
lea ecx, [ebp - 0x14c]
and ebx, 0xfffffffd
call fcn.0040a0c0
mov byte [ebp - 0x7d], 1
lea ecx, [ebp - 0x34]
call fcn.00405610
lea ecx, [ebp - 0x1c]
call fcn.00405610
cmp byte [ebp - 0x7d], 0
jne 0x46fa52
push esi
call fcn.0046fcee
pop ecx
test al, al
je 0x46f9ae
xor eax, eax
cmp dword [esi + 0x10], eax
je 0x46f9b0
call fcn.0040a000
test eax, eax
jg 0x46f992
push 0
push 0x1c3
push edi
lea ecx, [ebp - 0x14c]
or ebx, 4
call fcn.0040a070
add eax, 8
push str.Got_locale_from_target_locale_file.
push eax
call fcn.00408da0
pop ecx
pop ecx
test bl, 4
je 0x46fa52
and ebx, 0xfffffffb
lea ecx, [ebp - 0x14c]
call fcn.0040a0c0
jmp 0x46fa52
xor eax, eax
mov dword [ebp - 0xc], eax
mov byte [ebp - 0x1c], al
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 8], 0xf
call fcn.0041e680
pop ecx
test al, al
je 0x46fa3e
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0x24]
je 0x46fa3e
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.00415d90
pop ecx
pop ecx
push eax
mov ecx, esi
call fcn.0040f020
push 0
push 1
lea ecx, [ebp - 0x4c]
call fcn.00407aa0
call fcn.0040a000
test eax, eax
jg 0x46fa2b
push 0
push 0x1cf
push edi
lea ecx, [ebp - 0x14c]
or ebx, 8
call fcn.0040a070
add eax, 8
push str.Got_locale_from_UI_language_list.
push eax
call fcn.00408da0
pop ecx
pop ecx
test bl, 8
je 0x46fa3e
lea ecx, [ebp - 0x14c]
and ebx, 0xfffffff7
call fcn.0040a0c0
lea ecx, [ebp - 0x28]
call fcn.00408420
push 0
push 1
lea ecx, [ebp - 0x1c]
call fcn.00407aa0
test bl, 0x10
je 0x46fa62
lea ecx, [ebp - 0x14c]
call fcn.0040a0c0
xor ebx, ebx
cmp dword [esi + 0x10], ebx
je 0x46fae0
mov edi, 0x4eff9c
push edi
call fcn.00404800
pop ecx
push eax
push ebx
push edi
mov ecx, esi
call fcn.00414a50
cmp eax, 0xffffffff
je 0x46faa4
push eax
push ebx
lea eax, [ebp - 0x4c]
mov ecx, esi
push eax
call fcn.0040f060
push eax
mov ecx, esi
call fcn.0040f020
push ebx
push 1
lea ecx, [ebp - 0x4c]
call fcn.00407aa0
lea eax, [ebp - 0x64]
mov dword [ebp - 0x50], 0xf
push eax
push esi
mov dword [ebp - 0x54], ebx
mov byte [ebp - 0x64], bl
call fcn.0046ff52
pop ecx
pop ecx
test al, al
je 0x46fad3
lea eax, [ebp - 0x64]
cmp esi, eax
je 0x46fad3
push 0xffffffffffffffff
push ebx
push eax
mov ecx, esi
call fcn.00407970
push ebx
push 1
lea ecx, [ebp - 0x64]
call fcn.00407aa0
jmp 0x46faf5
mov edi, 0x4d67d4
push edi
call fcn.00404800
pop ecx
push eax
push edi
mov ecx, esi
call fcn.00408460
push ebx
push 1
lea ecx, [ebp - 0x7c]
call fcn.00407aa0
lea ecx, [ebp - 0x9c]
call fcn.00410050
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004a7e44
mov esp, ebp
pop ebp
ret