Function at 0x4121c0
Capabilities:
Identify system language via api
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x466e32
mov eax, dword fs:[0]
push eax
sub esp, 0x168
mov eax, dword [0x486668]
xor eax, esp
mov dword [esp + 0x160], eax
push ebx
push esi
push edi
mov eax, dword [0x486668]
xor eax, esp
push eax
lea eax, [esp + 0x178]
mov dword fs:[0], eax
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
xor ebx, ebx
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x6c], eax
mov dword [esp + 0x78], edx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
lea eax, [esp + 0x5c]
push eax
mov dword [esp + 0x184], ebx
call fcn.0045d670
lea ecx, [esp + 0x3c]
call fcn.00410200
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], ebx
lea ecx, [esp + 0x14]
mov byte [esp + 0x180], 1
call fcn.00410220
mov dword [esp + 0x18], eax
mov byte [eax + 0x11], 1
mov eax, dword [esp + 0x18]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x18]
mov dword [eax], eax
mov eax, dword [esp + 0x18]
mov dword [eax + 8], eax
mov dword [esp + 0x1c], ebx
lea ecx, [esp + 0x24]
mov byte [esp + 0x180], 2
call fcn.00410260
mov dword [esp + 0x28], eax
mov byte [eax + 0x15], 1
mov eax, dword [esp + 0x28]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x28]
mov dword [eax], eax
mov eax, dword [esp + 0x28]
mov dword [eax + 8], eax
mov dword [esp + 0x2c], ebx
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x64]
cmp eax, ecx
mov byte [esp + 0x180], 3
mov esi, eax
jbe 0x4122ca
call fcn.0042f182
mov ecx, dword [esp + 0x64]
mov eax, dword [esp + 0x60]
cmp eax, ecx
lea edi, [esp + 0x5c]
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], esi
mov dword [esp + 0xa0], ecx
jbe 0x4122e6
call fcn.0042f182
cmp edi, ebx
je 0x4122f2
lea ecx, [esp + 0x5c]
cmp edi, ecx
je 0x4122f7
call fcn.0042f182
cmp esi, dword [esp + 0xa0]
je 0x412702
cmp edi, ebx
jne 0x41230d
call fcn.0042f182
cmp esi, dword [edi + 8]
jb 0x412317
call fcn.0042f182
mov eax, dword [esi]
sub eax, 0x10
push eax
call fcn.00402cb0
add eax, 0x10
add esp, 4
mov dword [esp + 0x20], eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x180], 4
call fcn.00401be0
push 5
lea edx, [esp + 0x88]
push edx
lea ecx, [esp + 0x28]
call fcn.00407d80
push str.lang_
push eax
call fcn.00407140
mov byte [esp + 0x53], al
mov eax, dword [esp + 0x8c]
add eax, 0xfffffff0
add esp, 8
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x412385
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [esp + 0x4b], bl
je 0x4126b6
push 5
lea ecx, [esp + 0xa0]
push ecx
lea ecx, [esp + 0x28]
call fcn.00407e00
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x184], 5
call fcn.00405a10
mov eax, dword [esp + 0x9c]
add eax, 0xfffffff0
mov byte [esp + 0x180], 4
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4123df
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0xa8]
push edx
lea ecx, [esp + 0x1c]
call fcn.00411340
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x9c]
push ecx
call fcn.004116c0
add esp, 8
mov esi, eax
mov ecx, dword [esp + 0x6c]
lea edx, [esp + 0x20]
push edx
mov byte [esp + 0x184], 6
call fcn.00404a50
push esi
mov ecx, eax
call fcn.00405a10
mov eax, dword [esp + 0x98]
add eax, 0xfffffff0
mov byte [esp + 0x180], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x412455
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
call fcn.0041af16
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
je 0x412d31
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x30], eax
push 1
push 0x2d
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x3c]
push ebx
push edx
mov byte [esp + 0x194], 7
call fcn.00461de0
mov eax, dword [esp + 0x34]
add esp, 0x10
add eax, 0xfffffff0
mov dword [esp + 0x84], esp
mov esi, esp
push eax
call fcn.00402cb0
add eax, 0x10
mov dword [esi], eax
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
mov dword [esp + 0x54], esp
mov esi, esp
push eax
mov byte [esp + 0x18c], 8
call fcn.00402cb0
add eax, 0x10
mov dword [esi], eax
lea eax, [esp + 0x94]
add esp, 4
push eax
mov byte [esp + 0x18c], 7
call fcn.00410540
add esp, 0xc
push eax
lea ecx, [esp + 0x94]
mov byte [esp + 0x184], 9
call fcn.0045c540
lea ecx, [esp + 0x90]
push ecx
lea edx, [esp + 0xb4]
push edx
lea ecx, [esp + 0x2c]
mov byte [esp + 0x188], 0xa
call fcn.00411450
mov eax, dword [esp + 0x94]
add eax, 0xfffffff0
mov byte [esp + 0x180], 9
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41254f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x90]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x412572
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x8c]
add eax, 0xfffffff0
mov byte [esp + 0x180], 7
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41259d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x88]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4125c0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x20]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x50], esp
mov esi, esp
push eax
call fcn.00402cb0
add eax, 0x10
mov dword [esi], eax
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
mov dword [esp + 0x88], esp
mov esi, esp
push eax
mov byte [esp + 0x18c], 0xb
call fcn.00402cb0
add eax, 0x10
lea ecx, [esp + 0x60]
add esp, 4
mov dword [esi], eax
push ecx
mov byte [esp + 0x18c], 7
call fcn.00410540
add esp, 0xc
mov ecx, dword [esp + 0x40]
mov edx, dword [ecx + 4]
lea edi, [ecx + 4]
push eax
push edx
push ecx
lea ecx, [esp + 0x48]
mov byte [esp + 0x18c], 0xc
call fcn.004106c0
push 1
lea ecx, [esp + 0x40]
mov esi, eax
call fcn.004109e0
mov dword [edi], esi
mov eax, dword [esi + 4]
mov dword [eax], esi
mov eax, dword [esp + 0x58]
add eax, 0xfffffff0
mov byte [esp + 0x180], 7
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41266e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x54]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41268e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
mov byte [esp + 0x180], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4126b6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0x180], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4126de
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
cmp edx, dword [ecx + 8]
jb 0x4126f0
call fcn.0042f182
add dword [esp + 0x38], 4
mov esi, dword [esp + 0x38]
mov edi, dword [esp + 0x34]
jmp 0x4122e6
cmp dword [esp + 0x44], ebx
mov eax, dword [esp + 0x28]
lea esi, [esp + 0x24]
jne 0x4127d7
mov edx, dword [eax]
push eax
mov ecx, esi
push ecx
push edx
push esi
lea eax, [esp + 0x64]
push eax
mov byte [esp + 0x194], 2
call fcn.004115f0
mov ecx, dword [esp + 0x28]
push ecx
call fcn.00413dbc
mov eax, dword [esp + 0x1c]
add esp, 4
push eax
lea ecx, [esp + 0x18]
push ecx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov edx, dword [eax]
push edx
mov esi, ecx
push esi
lea edx, [esp + 0x64]
push edx
mov byte [esp + 0x194], 1
call fcn.00411520
mov eax, dword [esp + 0x18]
push eax
call fcn.00413dbc
add esp, 4
lea ecx, [esp + 0x3c]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov byte [esp + 0x180], bl
call fcn.00410960
mov ecx, dword [esp + 0x40]
push ecx
call fcn.00413dbc
mov eax, dword [esp + 0x64]
add esp, 4
cmp eax, ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x180], 0xffffffff
je 0x4127d0
mov edx, dword [esp + 0x4c]
push edx
mov edx, dword [esp + 0x68]
lea ecx, [esp + 0x60]
push ecx
push edx
push eax
call fcn.0040d190
mov eax, dword [esp + 0x70]
push eax
call fcn.00413dbc
add esp, 0x14
xor al, al
jmp 0x413050
mov edi, dword [eax]
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], edi
mov dword [esp + 0x58], eax
cmp esi, ebx
je 0x4127f1
lea ecx, [esp + 0x24]
cmp esi, ecx
je 0x4127f6
call fcn.0042f182
cmp edi, dword [esp + 0x58]
je 0x41290d
cmp esi, ebx
jne 0x412809
call fcn.0042f182
cmp edi, dword [esi + 4]
jne 0x412813
call fcn.0042f182
lea eax, [edi + 0xc]
push eax
lea ecx, [esp + 0x38]
call fcn.00405280
lea edx, [esp + 0x34]
push edx
lea ecx, [esp + 0x28]
mov byte [esp + 0x184], 0xd
call fcn.00410660
cmp eax, 1
jne 0x4128af
mov esi, dword [esp + 0x6c]
lea eax, [esp + 0x38]
push eax
mov ecx, esi
call fcn.00404a50
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.00402cb0
add eax, 0x10
add esp, 4
mov dword [esp + 0x30], eax
push 1
push 0x28
lea ecx, [esp + 0x38]
push ecx
push ebx
lea edx, [esp + 0x48]
push edx
mov ecx, esi
mov byte [esp + 0x194], 0xe
call fcn.00404a50
push eax
call fcn.00461de0
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
add esp, 0x14
mov byte [esp + 0x180], 0xd
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4128af
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
mov byte [esp + 0x180], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4128d7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4128f7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x4c]
call fcn.0040fec0
mov edi, dword [esp + 0x50]
mov esi, dword [esp + 0x4c]
jmp 0x4127e5
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
push 0xa8
lea ecx, [esp + 0xc2]
push ebx
push ecx
movzx esi, ax
mov word [esp + 0xc8], bx
call fcn.00431290
add esp, 0xc
push 0x55
lea edx, [esp + 0xc0]
push edx
push esi
call fcn.00461c30
cmp eax, 1
jne 0x412a1c
mov eax, dword [esp + 0x28]
mov edx, dword [eax]
push eax
lea ecx, [esp + 0x28]
push ecx
push edx
mov esi, ecx
push esi
lea eax, [esp + 0x64]
push eax
mov byte [esp + 0x194], 2
call fcn.004115f0
mov ecx, dword [esp + 0x28]
push ecx
call fcn.00413dbc
mov eax, dword [esp + 0x1c]
add esp, 4
push eax
lea ecx, [esp + 0x18]
push ecx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov edx, dword [eax]
push edx
mov esi, ecx
push esi
lea edx, [esp + 0x64]
push edx
mov byte [esp + 0x194], 1
call fcn.00411520
mov eax, dword [esp + 0x18]
push eax
call fcn.00413dbc
add esp, 4
lea ecx, [esp + 0x3c]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov byte [esp + 0x180], bl
call fcn.00410960
mov ecx, dword [esp + 0x40]
push ecx
call fcn.00413dbc
mov eax, dword [esp + 0x64]
add esp, 4
cmp eax, ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x180], 0xffffffff
je 0x4127d0
mov edx, dword [esp + 0x4c]
push edx
mov edx, dword [esp + 0x68]
lea ecx, [esp + 0x60]
push ecx
push edx
push eax
call fcn.0040d190
mov eax, dword [esp + 0x70]
push eax
call fcn.00413dbc
add esp, 0x14
xor al, al
jmp 0x413050
lea ecx, [esp + 0xbc]
push ecx
lea ecx, [esp + 0x14]
call fcn.00403710
lea ecx, [esp + 0x10]
mov byte [esp + 0x180], 0xf
call fcn.00401be0
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x1c]
call fcn.00410380
mov ecx, dword [eax]
cmp ecx, ebx
mov esi, dword [eax + 4]
mov edi, dword [esp + 0x18]
je 0x412a66
lea edx, [esp + 0x14]
cmp ecx, edx
je 0x412a6b
call fcn.0042f182
cmp esi, edi
lea eax, [esp + 0x10]
je 0x412b78
mov ecx, dword [esp + 0x78]
push eax
call fcn.00405a10
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x180], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x412aa9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x28]
mov edx, dword [eax]
push eax
lea ecx, [esp + 0x28]
push ecx
mov esi, ecx
push edx
push esi
lea ecx, [esp + 0x64]
push ecx
mov ecx, esi
mov byte [esp + 0x194], 2
call fcn.004115f0
mov edx, dword [esp + 0x28]
push edx
call fcn.00413dbc
mov eax, dword [esp + 0x1c]
add esp, 4
push eax
lea ecx, [esp + 0x18]
push ecx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov edx, dword [eax]
push edx
mov esi, ecx
push esi
lea eax, [esp + 0x64]
push eax
mov byte [esp + 0x194], 1
call fcn.00411520
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00413dbc
add esp, 4
lea ecx, [esp + 0x3c]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov byte [esp + 0x180], bl
call fcn.00410960
mov edx, dword [esp + 0x40]
push edx
call fcn.00413dbc
mov eax, dword [esp + 0x64]
add esp, 4
cmp eax, ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x180], 0xffffffff
je 0x41304e
mov ecx, dword [esp + 0x4c]
push ecx
mov ecx, dword [esp + 0x68]
lea edx, [esp + 0x60]
push edx
push ecx
push eax
call fcn.0040d190
mov edx, dword [esp + 0x70]
push edx
call fcn.00413dbc
add esp, 0x14
jmp 0x41304e
push str.zh_cn
push eax
call fcn.00407140
add esp, 8
test al, al
lea ecx, [esp + 0x10]
je 0x412b98
push str.en_us
jmp 0x412c27
push str.zh_tw
push ecx
call fcn.00407140
add esp, 8
test al, al
je 0x412bb1
push str.zh_cn
jmp 0x412c23
lea edx, [esp + 0x10]
push str.zh_hk
push edx
call fcn.00407140
add esp, 8
test al, al
je 0x412bce
push str.zh_tw
jmp 0x412c23
lea eax, [esp + 0x10]
push str.zh_mo
push eax
call fcn.00407140
add esp, 8
test al, al
lea ecx, [esp + 0x10]
je 0x412bef
push str.zh_tw
jmp 0x412c27
push str.zh_sg
push ecx
call fcn.00407140
add esp, 8
test al, al
je 0x412c08
push str.zh_cn
jmp 0x412c23
lea edx, [esp + 0x10]
push 0x46cb90
push edx
call fcn.00407140
add esp, 8
test al, al
je 0x412c2c
push str.nb_no
lea ecx, [esp + 0x14]
call fcn.004039c0
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x58]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00410380
mov ecx, dword [eax]
cmp ecx, ebx
mov esi, dword [eax + 4]
mov edi, dword [esp + 0x18]
je 0x412c54
lea edx, [esp + 0x14]
cmp ecx, edx
je 0x412c59
call fcn.0042f182
cmp esi, edi
je 0x412d21
mov ecx, dword [esp + 0x78]
lea eax, [esp + 0x10]
push eax
call fcn.00405a10
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x180], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x412c97
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x28]
mov edx, dword [eax]
push eax
lea ecx, [esp + 0x28]
push ecx
mov esi, ecx
push edx
push esi
lea ecx, [esp + 0x64]
push ecx
mov ecx, esi
mov byte [esp + 0x194], 2
call fcn.004115f0
mov edx, dword [esp + 0x28]
push edx
call fcn.00413dbc
mov eax, dword [esp + 0x1c]
add esp, 4
push eax
lea ecx, [esp + 0x18]
push ecx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov edx, dword [eax]
push edx
mov esi, ecx
push esi
lea eax, [esp + 0x64]
push eax
mov byte [esp + 0x194], 1
call fcn.00411520
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00413dbc
add esp, 4
lea ecx, [esp + 0x3c]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov byte [esp + 0x180], bl
call fcn.00410960
mov edx, dword [esp + 0x40]
push edx
jmp 0x41302e
call fcn.0041af16
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x412d3b
push 0x80004005
call fcn.00402b50
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x70], eax
push 1
push 0x2d
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x7c]
push ebx
push edx
mov byte [esp + 0x194], 0x10
call fcn.00461de0
mov eax, dword [esp + 0x54]
mov ecx, dword [eax]
lea edx, [esp + 0x50]
add esp, 0x14
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], ecx
mov esi, eax
mov edi, edi
cmp edx, ebx
je 0x412d8c
lea eax, [esp + 0x3c]
cmp edx, eax
je 0x412d91
call fcn.0042f182
cmp dword [esp + 0x38], esi
je 0x412e56
lea ecx, [esp + 0x34]
push ebx
push ecx
call fcn.00410180
add esp, 8
push eax
lea ecx, [esp + 0x50]
call fcn.0045c540
lea edx, [esp + 0x70]
push edx
lea eax, [esp + 0x50]
push eax
mov byte [esp + 0x188], 0x11
call fcn.00404120
add esp, 8
test al, al
jne 0x412df6
lea ecx, [esp + 0x4c]
mov byte [esp + 0x180], 0x10
call fcn.004101b0
lea ecx, [esp + 0x34]
push ebx
push ecx
call fcn.00410150
mov edx, dword [esp + 0x3c]
add esp, 8
jmp 0x412d80
mov ecx, dword [esp + 0x78]
lea edx, [esp + 0x50]
push edx
call fcn.00405a10
lea ecx, [esp + 0x4c]
call fcn.004101b0
lea ecx, [esp + 0x70]
call fcn.00407c70
lea ecx, [esp + 0x10]
call fcn.00407c70
lea ecx, [esp + 0x24]
mov byte [esp + 0x180], 2
call fcn.00412180
lea ecx, [esp + 0x14]
mov byte [esp + 0x180], 1
call fcn.00412140
lea ecx, [esp + 0x3c]
mov byte [esp + 0x180], bl
call fcn.00411500
jmp 0x41303a
push 0x477ce4
lea ecx, [esp + 0x24]
call fcn.00403710
push str.Culture
lea ecx, [esp + 0x34]
mov byte [esp + 0x184], 0x12
call fcn.00403710
push str.main
lea ecx, [esp + 0x70]
mov byte [esp + 0x184], 0x13
call fcn.00403710
push ebx
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x88]
lea edx, [esp + 0x78]
push edx
lea eax, [esp + 0x84]
push eax
mov byte [esp + 0x194], 0x14
call fcn.0045d290
mov eax, dword [esp + 0x6c]
add eax, 0xfffffff0
mov byte [esp + 0x180], 0x16
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x412ee4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
mov byte [esp + 0x180], 0x17
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x412f0c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0x180], 0x18
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x412f34
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x74]
call fcn.00401be0
lea ecx, [esp + 0x74]
push ecx
lea edx, [esp + 0x8c]
push edx
lea ecx, [esp + 0x1c]
call fcn.00410380
mov ecx, dword [eax]
cmp ecx, ebx
mov esi, dword [eax + 4]
mov edi, dword [esp + 0x18]
je 0x412f68
lea eax, [esp + 0x14]
cmp ecx, eax
je 0x412f6d
call fcn.0042f182
cmp esi, edi
je 0x412f7f
lea ecx, [esp + 0x74]
push ecx
mov ecx, dword [esp + 0x7c]
call fcn.00405a10
mov eax, dword [esp + 0x74]
add eax, 0xfffffff0
or ecx, 0xffffffff
lea edx, [eax + 0xc]
mov byte [esp + 0x180], 0x10
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x412fa7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x70]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [esp + 0x180], 0xf
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x412fcf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [esp + 0x180], 3
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x412ff7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x180], 2
call fcn.00412180
lea ecx, [esp + 0x14]
mov byte [esp + 0x180], 1
call fcn.00412140
lea ecx, [esp + 0x3c]
mov byte [esp + 0x180], bl
call fcn.00410960
mov ecx, dword [esp + 0x40]
push ecx
call fcn.00413dbc
mov dword [esp + 0x44], ebx
add esp, 4
lea ecx, [esp + 0x5c]
mov dword [esp + 0x180], 0xffffffff
call fcn.0040d6e0
mov al, 1
mov ecx, dword [esp + 0x178]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x160]
xor ecx, esp
call fcn.0042eddf
mov esp, ebp
pop ebp
ret