Function at 0x5249d9
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x154
mov eax, dword [0x5b46a4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor ebx, ebx
mov edi, ecx
push 0x563fd4
mov dword [ebp - 0x84], ebx
call fcn.004e0bc0
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [ebp - 0x34]
call fcn.004e09b0
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0xa4]
push eax
call fcn.004def60
pop ecx
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x34]
call fcn.004e1d20
and dword [ebp - 0x6c], ebx
lea ecx, [ebp - 0xa4]
mov esi, str.wow_lang
mov dword [ebp - 0x68], 0xf
push esi
mov byte [ebp - 0x7c], bl
call fcn.004df430
test al, al
je 0x524a85
push esi
mov dword [ebp - 0xc], esi
call fcn.004dd690
pop ecx
mov dword [ebp - 8], eax
lea ecx, [ebp - 0xa4]
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.004df4b0
push eax
lea ecx, [ebp - 0x7c]
call fcn.004eb7a0
push ebx
push 1
lea ecx, [ebp - 0x34]
call fcn.004e2260
lea eax, [ebp - 0x7c]
mov byte [ebp - 0x7d], bl
push edi
push eax
call fcn.00524e7d
mov esi, str.d:webapps_b_build_slave_repo_build_srcwow_basei18nwow_distribution_i18n.cc
pop ecx
pop ecx
test al, al
je 0x524afa
cmp dword [edi + 0x10], ebx
je 0x524afa
push 0
call fcn.004ebd10
pop ecx
test al, al
je 0x524ada
push 0
xor ebx, ebx
lea ecx, [ebp - 0x154]
push 0x1c1
inc ebx
push esi
mov dword [ebp - 0x84], ebx
call fcn.004ebdd0
add eax, 8
push str.Got_locale_from_the_command_line.
push eax
call fcn.004e3770
pop ecx
pop ecx
test bl, 1
je 0x524af3
and ebx, 0xfffffffe
lea ecx, [ebp - 0x154]
mov dword [ebp - 0x84], ebx
call fcn.004ebe90
mov al, 1
mov byte [ebp - 0x7d], al
jmp 0x524afc
mov al, bl
mov byte [ebp - 0x7e], 0
test al, al
jne 0x524d39
lea ecx, [ebp - 0x64]
call fcn.004e0a10
lea eax, [ebp - 0x64]
push eax
call fcn.00525114
pop ecx
test al, al
je 0x524c17
cmp dword [ebp - 0x54], 0
je 0x524c17
push ecx
push ecx
mov esi, esp
mov eax, str.target_locale
push eax
mov dword [esi], eax
call fcn.004dd600
pop ecx
mov dword [esi + 4], eax
lea ecx, [ebp - 0x64]
lea eax, [ebp - 0x34]
push eax
call fcn.004e5a50
cmp dword [ebp - 0x24], 0
je 0x524c06
and dword [ebp - 0xc], 0
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x34]
mov dword [ebp - 8], 0xf
push eax
mov byte [ebp - 0x1c], 0
call fcn.004f4010
pop ecx
pop ecx
test al, al
jne 0x524b87
push 0
push 1
lea ecx, [ebp - 0x1c]
call fcn.004e2260
jmp 0x524c06
lea eax, [ebp - 0x1c]
push edi
push eax
call fcn.00524e7d
pop ecx
pop ecx
push 0
push 1
lea ecx, [ebp - 0x1c]
mov bl, al
call fcn.004e2260
test bl, bl
je 0x524c00
cmp dword [edi + 0x10], 0
je 0x524c00
push 0
call fcn.004ebd10
mov ebx, dword [ebp - 0x84]
pop ecx
test al, al
je 0x524be7
push 0
push 0x1d0
push str.d:webapps_b_build_slave_repo_build_srcwow_basei18nwow_distribution_i18n.cc
lea ecx, [ebp - 0x154]
or ebx, 2
call fcn.004ebdd0
add eax, 8
push str.Got_locale_from_target_locale_file.
push eax
call fcn.004e3770
pop ecx
pop ecx
test bl, 2
je 0x524bfa
lea ecx, [ebp - 0x154]
and ebx, 0xfffffffd
call fcn.004ebe90
mov byte [ebp - 0x7d], 1
jmp 0x524c0a
mov ebx, dword [ebp - 0x84]
mov byte [ebp - 0x7e], 1
lea ecx, [ebp - 0x34]
call fcn.004e08d0
mov esi, str.d:webapps_b_build_slave_repo_build_srcwow_basei18nwow_distribution_i18n.cc
lea ecx, [ebp - 0x64]
call fcn.004e08d0
cmp byte [ebp - 0x7d], 0
jne 0x524d39
push edi
call fcn.00524fa4
pop ecx
test al, al
je 0x524c88
xor eax, eax
cmp dword [edi + 0x10], eax
je 0x524c8a
push eax
call fcn.004ebd10
pop ecx
test al, al
je 0x524c6c
push 0
push 0x1db
push esi
lea ecx, [ebp - 0x154]
or ebx, 4
call fcn.004ebdd0
add eax, 8
push str.Got_locale_from_target_locale_file.
push eax
call fcn.004e3770
pop ecx
pop ecx
test bl, 4
je 0x524d39
lea ecx, [ebp - 0x154]
and ebx, 0xfffffffb
call fcn.004ebe90
jmp 0x524d39
xor eax, eax
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x34], al
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 0x20], 0xf
call fcn.004f7ca0
pop ecx
test al, al
je 0x524d25
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0xc]
je 0x524d25
push ecx
push ecx
mov ecx, esp
push eax
call fcn.004e0810
lea eax, [ebp - 0x64]
push eax
call fcn.004f1b80
add esp, 0xc
mov ecx, edi
push eax
call fcn.004eb7a0
push 0
push 1
lea ecx, [ebp - 0x64]
call fcn.004e2260
push 0
call fcn.004ebd10
pop ecx
test al, al
je 0x524d12
push 0
push 0x1e7
push esi
lea ecx, [ebp - 0x154]
or ebx, 8
call fcn.004ebdd0
add eax, 8
push str.Got_locale_from_UI_language_list.
push eax
call fcn.004e3770
pop ecx
pop ecx
test bl, 8
je 0x524d25
lea ecx, [ebp - 0x154]
and ebx, 0xfffffff7
call fcn.004ebe90
lea ecx, [ebp - 0x10]
call fcn.004e06a0
push 0
push 1
lea ecx, [ebp - 0x34]
call fcn.004e2260
test bl, 0x10
je 0x524d49
lea ecx, [ebp - 0x154]
call fcn.004ebe90
xor ebx, ebx
cmp dword [edi + 0x10], ebx
je 0x524dc7
mov esi, 0x5ad5a0
push esi
call fcn.004dd690
pop ecx
push eax
push ebx
push esi
mov ecx, edi
call fcn.004f3c50
cmp eax, 0xffffffff
je 0x524d8b
push eax
push ebx
lea eax, [ebp - 0x34]
mov ecx, edi
push eax
call fcn.004e0ab0
push eax
mov ecx, edi
call fcn.004eb7a0
push ebx
push 1
lea ecx, [ebp - 0x34]
call fcn.004e2260
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x38], 0xf
push eax
push edi
mov dword [ebp - 0x3c], ebx
mov byte [ebp - 0x4c], bl
call fcn.005251ff
pop ecx
pop ecx
test al, al
je 0x524dba
lea eax, [ebp - 0x4c]
cmp edi, eax
je 0x524dba
push 0xffffffffffffffff
push ebx
push eax
mov ecx, edi
call fcn.004e2420
push ebx
push 1
lea ecx, [ebp - 0x4c]
call fcn.004e2260
jmp 0x524ddc
mov esi, 0x563fd4
push esi
call fcn.004dd690
pop ecx
push eax
push esi
mov ecx, edi
call fcn.004e2320
cmp byte [ebp - 0x7e], bl
je 0x524de8
push edi
call fcn.005256d2
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x7c]
call fcn.004e2260
lea ecx, [ebp - 0xa4]
call fcn.004dedd0
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0053a230
mov esp, ebp
pop ebp
ret