Function at 0x1004b780
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x10071cec
mov eax, dword fs:[0]
push eax
sub esp, 0x128
mov eax, dword [0x1008c288]
xor eax, esp
mov dword [esp + 0x124], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1008c288]
xor eax, esp
push eax
lea eax, [esp + 0x13c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x150]
mov edi, dword [esp + 0x14c]
mov esi, dword [esp + 0x15c]
mov ebp, ecx
mov ecx, dword [esp + 0x154]
push 0xffffffffffffffff
xor ebx, ebx
push ebx
mov dword [esp + 0x20], ecx
push eax
lea ecx, [ebp + 0x44]
mov dword [esp + 0x34], ebp
mov dword [esp + 0x30], eax
call fcn.100035d0
mov edx, dword [esp + 0x18]
push 0xffffffffffffffff
push ebx
push edx
lea ecx, [ebp + 0x60]
call fcn.100035d0
mov byte [ebp + 0x7c], bl
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov eax, dword [esi]
neg eax
sbb eax, eax
test eax, fcn.1000f830
mov dword [esp + 0x144], ebx
je 0x1004b8b3
mov ecx, dword [esp + 0x24]
push ecx
push edi
lea edx, [esp + 0x3c]
push edx
mov ecx, esi
call fcn.1004ad00
mov esi, dword [esp + 0x38]
cmp esi, ebx
mov byte [esp + 0x144], 1
je 0x1004b859
mov eax, dword [esp + 0x3c]
sub eax, esi
jne 0x1004b860
push esi
call sub.MFC80U.DLL_Ordinal_764
add esp, 4
xor al, al
jmp 0x1004bec3
push 0x30
call sub.MFC80U.DLL_Ordinal_762
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, ebx
mov byte [esp + 0x144], 2
je 0x1004b88c
lea ecx, [esp + 0x34]
push ecx
mov ecx, eax
call fcn.1004ab90
mov esi, dword [esp + 0x38]
jmp 0x1004b88e
xor eax, eax
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x148], 1
call fcn.1004a930
cmp esi, ebx
mov byte [esp + 0x144], bl
je 0x1004b91f
push esi
call sub.MFC80U.DLL_Ordinal_764
jmp 0x1004b91c
mov dword [esp + 0x14], ebx
mov edx, dword [esp + 0x24]
push edx
push edi
lea ecx, [esp + 0x1c]
mov byte [esp + 0x14c], 3
call fcn.10046fb0
mov esi, dword [esp + 0x14]
cmp esi, ebx
je 0x1004b859
push 0x30
call sub.MFC80U.DLL_Ordinal_762
add esp, 4
mov dword [esp + 0x1c], eax
cmp eax, ebx
mov byte [esp + 0x144], 4
je 0x1004b8fa
push esi
mov ecx, eax
call fcn.1004a5c0
jmp 0x1004b8fc
xor eax, eax
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x148], 3
call fcn.1004a930
push esi
mov byte [esp + 0x148], bl
call dword [sym.imp.MSVCR80.dll_fclose]
add esp, 4
push 7
mov esi, 0xf
push str.plural
lea ecx, [esp + 0x4c]
mov dword [esp + 0x64], esi
mov dword [esp + 0x60], ebx
mov byte [esp + 0x50], bl
call fcn.100036b0
mov edi, dword [esp + 0x2c]
push ebx
lea eax, [esp + 0x20]
push eax
mov ecx, edi
mov byte [esp + 0x14c], 5
call fcn.10048400
mov ebp, dword [eax]
mov eax, ebp
mov dword [esp + 0xb0], esi
mov dword [esp + 0xac], ebx
mov byte [esp + 0x9c], bl
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x1004b975
sub eax, edx
push eax
push ebp
lea ecx, [esp + 0xa0]
call fcn.100036b0
push 0x10079a74
lea ecx, [esp + 0x48]
push ecx
lea edx, [esp + 0xa0]
push edx
lea eax, [esp + 0xcc]
push eax
mov byte [esp + 0x154], 6
call fcn.10047c00
add esp, 0x10
mov ebp, 0x10
cmp dword [esp + 0xb0], ebp
jb 0x1004b9d6
mov ecx, dword [esp + 0x9c]
push ecx
call sub.MFC80U.DLL_Ordinal_764
add esp, 4
mov dword [esp + 0xb0], esi
mov dword [esp + 0xac], ebx
mov byte [esp + 0x9c], bl
cmp dword [esp + 0x5c], ebp
mov byte [esp + 0x144], 9
jb 0x1004ba06
mov edx, dword [esp + 0x48]
push edx
call sub.MFC80U.DLL_Ordinal_764
add esp, 4
push 8
push str.charset
lea ecx, [esp + 0x68]
mov dword [esp + 0x64], esi
mov dword [esp + 0x60], ebx
mov byte [esp + 0x50], bl
mov dword [esp + 0x80], esi
mov dword [esp + 0x7c], ebx
mov byte [esp + 0x6c], bl
call fcn.100036b0
push ebx
lea eax, [esp + 0x38]
push eax
mov ecx, edi
mov byte [esp + 0x14c], 0xa
call fcn.10048400
mov ebp, dword [eax]
mov eax, ebp
mov dword [esp + 0x94], esi
mov dword [esp + 0x90], ebx
mov byte [esp + 0x80], bl
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x1004ba62
sub eax, edx
push eax
push ebp
lea ecx, [esp + 0x84]
call fcn.100036b0
push str.__r_n_
lea ecx, [esp + 0x64]
push ecx
lea edx, [esp + 0x84]
push edx
lea eax, [esp + 0xe8]
push eax
mov byte [esp + 0x154], 0xb
call fcn.10047c00
add esp, 0x10
mov ebp, 0x10
cmp dword [esp + 0x94], ebp
jb 0x1004bac3
mov ecx, dword [esp + 0x80]
push ecx
call sub.MFC80U.DLL_Ordinal_764
add esp, 4
mov dword [esp + 0x94], esi
mov dword [esp + 0x90], ebx
mov byte [esp + 0x80], bl
cmp dword [esp + 0x78], ebp
mov byte [esp + 0x144], 0xe
jb 0x1004baf3
mov edx, dword [esp + 0x64]
push edx
call sub.MFC80U.DLL_Ordinal_764
add esp, 4
cmp dword [esp + 0xf0], ebx
mov dword [esp + 0x78], esi
mov dword [esp + 0x74], ebx
mov byte [esp + 0x64], bl
jne 0x1004bb4f
push 0x2c
push str.Invalid_mo_format__encoding_is_not_specified
lea ecx, [esp + 0x4c]
mov dword [esp + 0x64], esi
mov dword [esp + 0x60], ebx
mov byte [esp + 0x50], bl
call fcn.100036b0
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x9c]
mov byte [esp + 0x148], 0xf
call fcn.10003ec0
push 0x100805d4
lea ecx, [esp + 0x9c]
push ecx
call sub.MSVCR80.dll__CxxThrowException
cmp dword [esp + 0xd4], ebx
je 0x1004bbad
cmp dword [esp + 0xd8], ebp
mov eax, dword [esp + 0xc4]
jae 0x1004bb6f
lea eax, [esp + 0xc4]
push eax
lea edx, [esp + 0x20]
push edx
call fcn.1006b160
add esp, 8
mov edx, dword [esp + 0x158]
push eax
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + 0x2c]
lea ecx, [ecx + edx*8]
mov byte [esp + 0x148], 0x10
call fcn.10046870
lea ecx, [esp + 0x1c]
mov byte [esp + 0x144], 0xe
call fcn.10046790
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x38], esp
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x100]
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x14], ebx
push eax
mov byte [ecx + 4], bl
call fcn.100035d0
mov edx, dword [esp + 0x40]
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x4c], esp
push 0xffffffffffffffff
push ebx
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x14], ebx
push edx
mov byte [esp + 0x188], 0x11
mov byte [ecx + 4], bl
call fcn.100035d0
lea ecx, [esp + 0xd0]
mov byte [esp + 0x17c], 0xe
call fcn.100473a0
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x38], esp
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x100]
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x14], ebx
push eax
mov byte [esp + 0x16c], 0x12
mov byte [ecx + 4], bl
call fcn.100035d0
mov edx, dword [esp + 0x34]
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x4c], esp
push 0xffffffffffffffff
push ebx
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x14], ebx
push edx
mov byte [esp + 0x188], 0x13
mov byte [ecx + 4], bl
call fcn.100035d0
lea ecx, [esp + 0x7c]
mov byte [esp + 0x17c], 0x12
call fcn.100473a0
xor ebp, ebp
cmp dword [edi + 0x2c], ebx
mov byte [esp + 0x144], 0x14
jbe 0x1004bdd6
mov eax, dword [esp + 0x158]
lea eax, [eax + eax*2]
add eax, eax
add eax, eax
add eax, eax
mov dword [esp + 0x18], eax
mov eax, dword [edi]
lea ecx, [eax + ebp*8 + 4]
push ecx
mov ecx, edi
call fcn.100479b0
mov esi, dword [edi + 0x10]
add esi, eax
mov eax, esi
lea ecx, [eax + 1]
jmp 0x1004bcb0
mov dl, byte [eax]
add eax, 1
cmp dl, bl
jne 0x1004bcb0
sub eax, ecx
add eax, esi
push eax
push esi
lea edx, [esp + 0x84]
push edx
lea ecx, [esp + 0x50]
call fcn.10046dd0
lea eax, [esp + 0x7c]
push eax
lea ecx, [esp + 0xfc]
mov byte [esp + 0x148], 0x15
call fcn.10048620
push ebp
lea ecx, [esp + 0x20]
push ecx
mov ecx, edi
mov byte [esp + 0x14c], 0x16
call fcn.10048400
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
push edx
push eax
lea ecx, [esp + 0x68]
push ecx
lea ecx, [esp + 0xa4]
call fcn.10046dd0
mov edx, dword [esp + 0x28]
mov ecx, dword [edx + 0xc]
add ecx, dword [esp + 0x18]
lea eax, [esp + 0xf8]
push eax
lea edx, [esp + 0x38]
push edx
mov byte [esp + 0x14c], 0x17
call fcn.1004a330
lea ecx, [esp + 0x60]
push ecx
mov ecx, dword [eax]
add ecx, 0x48
call fcn.100269f0
mov esi, 8
cmp dword [esp + 0x78], esi
jb 0x1004bd65
mov edx, dword [esp + 0x64]
push edx
call fcn.10029d5b
add esp, 4
lea ecx, [esp + 0xf8]
mov dword [esp + 0x78], 7
mov dword [esp + 0x74], ebx
mov word [esp + 0x64], bx
mov byte [esp + 0x144], 0x15
call fcn.10046d50
cmp dword [esp + 0x94], esi
mov byte [esp + 0x144], 0x14
jb 0x1004bdab
mov eax, dword [esp + 0x80]
push eax
call sub.MFC80U.DLL_Ordinal_764
add esp, 4
add ebp, 1
cmp ebp, dword [edi + 0x2c]
mov dword [esp + 0x94], 7
mov dword [esp + 0x90], ebx
mov word [esp + 0x80], bx
jb 0x1004bc93
mov esi, 0xf
mov edi, 0x10
cmp dword [esp + 0x5c], edi
jb 0x1004bdee
mov ecx, dword [esp + 0x48]
push ecx
call sub.MFC80U.DLL_Ordinal_764
add esp, 4
cmp dword [esp + 0xb0], edi
mov dword [esp + 0x5c], esi
mov dword [esp + 0x58], ebx
mov byte [esp + 0x48], bl
jb 0x1004be13
mov edx, dword [esp + 0x9c]
push edx
call sub.MFC80U.DLL_Ordinal_764
add esp, 4
cmp dword [esp + 0xf4], edi
mov dword [esp + 0xb0], esi
mov dword [esp + 0xac], ebx
mov byte [esp + 0x9c], bl
jb 0x1004be41
mov eax, dword [esp + 0xe0]
push eax
call sub.MFC80U.DLL_Ordinal_764
add esp, 4
cmp dword [esp + 0xd8], edi
mov dword [esp + 0xf4], esi
mov dword [esp + 0xf0], ebx
mov byte [esp + 0xe0], bl
jb 0x1004be6f
mov ecx, dword [esp + 0xc4]
push ecx
call sub.MFC80U.DLL_Ordinal_764
add esp, 4
mov dword [esp + 0xd8], esi
mov esi, dword [esp + 0x30]
cmp esi, ebx
mov dword [esp + 0xd4], ebx
mov byte [esp + 0xc4], bl
mov dword [esp + 0x144], 0xffffffff
je 0x1004bec1
lea edx, [esi + 4]
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x1004bec1
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x1004bec1
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
mov al, 1
mov ecx, dword [esp + 0x13c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x124]
xor ecx, esp
call fcn.10028d90
add esp, 0x134
ret 0x14