Function at 0x45f350
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x138
mov eax, dword [0x4de4e4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 8], ebx
push 5
push 0x4c43ac
mov dword [edi + 0x14], 0xf
mov dword [edi + 0x10], ebx
mov byte [edi], bl
call fcn.004062c0
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov edx, eax
mov dword [ebp - 8], 7
xor eax, eax
mov dword [ebp - 0xc], ebx
mov word [ebp - 0x1c], ax
cmp word [edx], ax
jne 0x45f3a6
xor ecx, ecx
jmp 0x45f3bf
mov ecx, edx
lea esi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45f3b0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x1c]
call fcn.004064e0
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.00425950
mov eax, dword [ebp - 8]
add esp, 8
cmp eax, 8
jb 0x45f3f1
inc eax
lea ecx, [ebp - 0x1c]
push eax
push dword [ebp - 0x1c]
call fcn.00406780
push str.wow_lang
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x20], 0xf
mov dword [ebp - 0x24], ebx
mov byte [ebp - 0x34], bl
call fcn.00426320
test al, al
je 0x45f451
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], str.wow_lang
push eax
lea eax, [ebp - 0x4c]
mov dword [ebp - 8], 8
push eax
lea ecx, [ebp - 0x88]
call fcn.00426070
push eax
lea ecx, [ebp - 0x34]
call fcn.00408b00
mov eax, dword [ebp - 0x38]
cmp eax, 0x10
jb 0x45f451
inc eax
lea ecx, [ebp - 0x4c]
push eax
push dword [ebp - 0x4c]
call fcn.00406730
lea eax, [ebp - 0x34]
mov byte [ebp - 0x65], bl
push edi
push eax
call fcn.0045f810
add esp, 8
test al, al
je 0x45f4bf
cmp dword [edi + 0x10], ebx
je 0x45f4bf
push 0
call fcn.004235b0
add esp, 4
test al, al
je 0x45f4a5
push 0
push 0x1c1
push str.d:webapps_b_build_slave_repo_build_srcwow_basei18nwow_distribution_i18n.cc
lea ecx, [ebp - 0x138]
call fcn.00422790
add eax, 8
push str.Got_locale_from_the_command_line.
push eax
call fcn.00401950
add esp, 8
mov ebx, 1
test bl, 1
je 0x45f4b8
lea ecx, [ebp - 0x138]
and ebx, 0xfffffffe
call fcn.00422910
mov al, 1
mov byte [ebp - 0x65], al
jmp 0x45f4c1
mov al, bl
mov byte [ebp - 0x66], 0
test al, al
jne 0x45f6f6
lea ecx, [ebp - 0x1c]
call fcn.00427660
lea eax, [ebp - 0x1c]
push eax
call fcn.0045fbc0
add esp, 4
test al, al
je 0x45f589
cmp dword [ebp - 0xc], 0
je 0x45f589
sub esp, 8
mov ecx, esp
push str.target_locale
call fcn.0040af20
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00427920
cmp dword [ebp - 0x3c], 0
je 0x45f57d
lea eax, [ebp - 0x4c]
push edi
push eax
call fcn.0045f950
add esp, 8
test al, al
je 0x45f57d
cmp dword [edi + 0x10], 0
je 0x45f57d
push 0
call fcn.004235b0
add esp, 4
test al, al
je 0x45f564
push 0
push 0x1d0
push str.d:webapps_b_build_slave_repo_build_srcwow_basei18nwow_distribution_i18n.cc
lea ecx, [ebp - 0x138]
or ebx, 2
call fcn.00422790
add eax, 8
push str.Got_locale_from_target_locale_file.
push eax
call fcn.00401950
add esp, 8
test bl, 2
je 0x45f577
lea ecx, [ebp - 0x138]
and ebx, 0xfffffffd
call fcn.00422910
mov byte [ebp - 0x65], 1
jmp 0x45f581
mov byte [ebp - 0x66], 1
lea ecx, [ebp - 0x4c]
call fcn.00401f50
lea ecx, [ebp - 0x1c]
call fcn.00401f50
cmp byte [ebp - 0x65], 0
jne 0x45f6f6
push edi
call fcn.0045f9d0
add esp, 4
test al, al
je 0x45f603
cmp dword [edi + 0x10], 0
je 0x45f603
push 0
call fcn.004235b0
add esp, 4
test al, al
je 0x45f5e7
push 0
push 0x1db
push str.d:webapps_b_build_slave_repo_build_srcwow_basei18nwow_distribution_i18n.cc
lea ecx, [ebp - 0x138]
or ebx, 4
call fcn.00422790
add eax, 8
push str.Got_locale_from_target_locale_file.
push eax
call fcn.00401950
add esp, 8
test bl, 4
je 0x45f6f6
lea ecx, [ebp - 0x138]
and ebx, 0xfffffffb
call fcn.00422910
jmp 0x45f6f6
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push eax
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
call fcn.004bb840
add esp, 4
test al, al
je 0x45f6b9
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0xc]
je 0x45f6bc
sub esp, 8
cmp dword [eax + 0x14], 8
mov edx, esp
jb 0x45f647
mov ecx, dword [eax]
jmp 0x45f649
mov ecx, eax
mov dword [edx], ecx
mov eax, dword [eax + 0x10]
mov dword [edx + 4], eax
lea eax, [ebp - 0x4c]
push eax
call fcn.0042eec0
add esp, 0xc
mov ecx, edi
push eax
call fcn.00408b00
lea ecx, [ebp - 0x4c]
call fcn.00401f10
push 0
call fcn.004235b0
add esp, 4
test al, al
je 0x45f6a6
push 0
push 0x1e7
push str.d:webapps_b_build_slave_repo_build_srcwow_basei18nwow_distribution_i18n.cc
lea ecx, [ebp - 0x138]
or ebx, 8
call fcn.00422790
add eax, 8
push str.Got_locale_from_UI_language_list.
push eax
call fcn.00401950
add esp, 8
test bl, 8
je 0x45f6b9
lea ecx, [ebp - 0x138]
and ebx, 0xfffffff7
call fcn.00422910
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x45f6f6
push dword [ebp - 8]
lea ecx, [ebp - 0x10]
push ecx
push dword [ebp - 0xc]
push eax
call fcn.0041e730
mov ecx, dword [ebp - 8]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x10]
add esp, 0x10
sub ecx, esi
imul ecx
lea ecx, [ebp - 0x10]
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push esi
call fcn.0041ef60
test bl, 0x10
je 0x45f706
lea ecx, [ebp - 0x138]
call fcn.00422910
cmp dword [edi + 0x10], 0
mov ecx, edi
je 0x45f7b0
push 1
push 0
push 0x4c1308
call fcn.0041dc20
cmp eax, 0xffffffff
je 0x45f763
push eax
push 0
push edi
lea ecx, [ebp - 0x1c]
mov dword [ebp - 8], 0xf
mov dword [ebp - 0xc], 0
mov byte [ebp - 0x1c], 0
call fcn.00406190
lea eax, [ebp - 0x1c]
mov ecx, edi
push eax
call fcn.00408b00
mov eax, dword [ebp - 8]
cmp eax, 0x10
jb 0x45f763
inc eax
lea ecx, [ebp - 0x1c]
push eax
push dword [ebp - 0x1c]
call fcn.00406730
lea eax, [ebp - 0x64]
mov dword [ebp - 0x50], 0xf
push eax
push edi
mov dword [ebp - 0x54], 0
mov byte [ebp - 0x64], 0
call fcn.0045fcb0
add esp, 8
test al, al
je 0x45f799
lea eax, [ebp - 0x64]
cmp edi, eax
je 0x45f799
push 0xffffffffffffffff
push 0
push eax
mov ecx, edi
call fcn.00406190
mov eax, dword [ebp - 0x50]
cmp eax, 0x10
jb 0x45f7bc
inc eax
lea ecx, [ebp - 0x64]
push eax
push dword [ebp - 0x64]
call fcn.00406730
jmp 0x45f7bc
push 5
push 0x4c43ac
call fcn.004062c0
cmp byte [ebp - 0x66], 0
je 0x45f7cb
push edi
call fcn.00460330
add esp, 4
mov eax, dword [ebp - 0x20]
cmp eax, 0x10
jb 0x45f7e0
inc eax
lea ecx, [ebp - 0x34]
push eax
push dword [ebp - 0x34]
call fcn.00406730
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x20], 0xf
mov dword [ebp - 0x24], 0
mov byte [ebp - 0x34], 0
call fcn.004250e0
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0049510d
mov esp, ebp
pop ebp
ret