Function at 0x440876
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14c
mov eax, dword [0x49f270]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor ebx, ebx
mov esi, ecx
push 0x48a3b0
mov dword [ebp - 0x84], ebx
call fcn.00402a60
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00406410
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x9c]
push eax
call fcn.0040d290
pop ecx
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x1c]
call fcn.004047d0
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.0040d740
test al, al
je 0x440929
push edi
lea ecx, [ebp - 0x1c]
call fcn.00402a60
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x9c]
call fcn.0040d7d0
push eax
lea ecx, [ebp - 0x7c]
call fcn.0040a810
push ebx
push 1
lea ecx, [ebp - 0x4c]
call fcn.004040c0
push ebx
push 1
lea ecx, [ebp - 0x1c]
call fcn.004040c0
lea eax, [ebp - 0x7c]
mov byte [ebp - 0x7d], bl
push esi
push eax
call fcn.00440cf6
pop ecx
pop ecx
test al, al
je 0x440985
cmp dword [esi + 0x10], ebx
je 0x440985
call fcn.0040ae90
test eax, eax
jg 0x440974
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.0040af30
add eax, 8
push str.Got_locale_from_the_command_line.
push eax
call fcn.00405180
pop ecx
pop ecx
test bl, 1
je 0x440b48
and ebx, 0xfffffffe
jmp 0x440a94
lea ecx, [ebp - 0x1c]
call fcn.00401ed0
lea eax, [ebp - 0x1c]
push eax
call fcn.00440ff9
mov edi, str.d:webapps_b_build_slave_repo_build_srcwow_basei18nwow_distribution_i18n.cc
pop ecx
test al, al
je 0x440a35
push str.target_locale
lea ecx, [ebp - 0x4c]
call fcn.00406410
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00402510
push 0
push 1
lea ecx, [ebp - 0x4c]
call fcn.004047d0
cmp dword [ebp - 0x24], ebx
je 0x440a2d
lea eax, [ebp - 0x34]
push esi
push eax
call fcn.00440e1d
pop ecx
pop ecx
test al, al
je 0x440a2d
cmp dword [esi + 0x10], ebx
je 0x440a2d
call fcn.0040ae90
test eax, eax
jg 0x440a16
push 2
pop ebx
push 0
push 0x1ba
push edi
lea ecx, [ebp - 0x14c]
call fcn.0040af30
add eax, 8
push str.Got_locale_from_target_locale_file.
push eax
call fcn.00405180
pop ecx
pop ecx
test bl, 2
je 0x440a29
lea ecx, [ebp - 0x14c]
and ebx, 0xfffffffd
call fcn.0040af80
mov byte [ebp - 0x7d], 1
lea ecx, [ebp - 0x34]
call fcn.00401f40
lea ecx, [ebp - 0x1c]
call fcn.00401f40
cmp byte [ebp - 0x7d], 0
jne 0x440b48
push esi
call fcn.00440e84
pop ecx
test al, al
je 0x440aa4
xor eax, eax
cmp dword [esi + 0x10], eax
je 0x440aa6
call fcn.0040ae90
test eax, eax
jg 0x440a88
push 0
push 0x1c3
push edi
lea ecx, [ebp - 0x14c]
or ebx, 4
call fcn.0040af30
add eax, 8
push str.Got_locale_from_target_locale_file.
push eax
call fcn.00405180
pop ecx
pop ecx
test bl, 4
je 0x440b48
and ebx, 0xfffffffb
lea ecx, [ebp - 0x14c]
call fcn.0040af80
jmp 0x440b48
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.00439170
pop ecx
test al, al
je 0x440b34
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0x24]
je 0x440b34
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.00416b50
pop ecx
pop ecx
push eax
mov ecx, esi
call fcn.0040a810
push 0
push 1
lea ecx, [ebp - 0x4c]
call fcn.004040c0
call fcn.0040ae90
test eax, eax
jg 0x440b21
push 0
push 0x1cf
push edi
lea ecx, [ebp - 0x14c]
or ebx, 8
call fcn.0040af30
add eax, 8
push str.Got_locale_from_UI_language_list.
push eax
call fcn.00405180
pop ecx
pop ecx
test bl, 8
je 0x440b34
lea ecx, [ebp - 0x14c]
and ebx, 0xfffffff7
call fcn.0040af80
lea ecx, [ebp - 0x28]
call fcn.004048d0
push 0
push 1
lea ecx, [ebp - 0x1c]
call fcn.004040c0
test bl, 0x10
je 0x440b58
lea ecx, [ebp - 0x14c]
call fcn.0040af80
xor ebx, ebx
cmp dword [esi + 0x10], ebx
je 0x440bd6
mov edi, 0x498498
push edi
call fcn.004011f0
pop ecx
push eax
push ebx
push edi
mov ecx, esi
call fcn.00416030
cmp eax, 0xffffffff
je 0x440b9a
push eax
push ebx
lea eax, [ebp - 0x4c]
mov ecx, esi
push eax
call fcn.0040e290
push eax
mov ecx, esi
call fcn.0040a810
push ebx
push 1
lea ecx, [ebp - 0x4c]
call fcn.004040c0
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.004410e9
pop ecx
pop ecx
test al, al
je 0x440bc9
lea eax, [ebp - 0x64]
cmp esi, eax
je 0x440bc9
push 0xffffffffffffffff
push ebx
push eax
mov ecx, esi
call fcn.00403f90
push ebx
push 1
lea ecx, [ebp - 0x64]
call fcn.004040c0
jmp 0x440beb
mov edi, 0x48a3b0
push edi
call fcn.004011f0
pop ecx
push eax
push edi
mov ecx, esi
call fcn.00404910
push ebx
push 1
lea ecx, [ebp - 0x7c]
call fcn.004040c0
lea ecx, [ebp - 0x9c]
call fcn.0040d130
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00467f35
mov esp, ebp
pop ebp
ret