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

Disassembly:
sub esp, 0x11c
mov eax, dword [0x4a89c5b8]
xor eax, esp
mov dword [esp + 0x118], eax
cmp byte [esp + 0x12c], 0
mov eax, dword [esp + 0x128]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x130]
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x13c]
push edi
mov dword [esp + 0x50], edx
mov dword [esp + 0x58], ecx
jne 0x4a83a618
movzx edx, word [0x4a89e260]
mov dword [esp + 0x40], edx
mov dword [esp + 0x3c], 0x11
jmp 0x4a83a62b
movzx ecx, word [0x4a89e264]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x3c], 0x22
mov ebx, dword [esp + 0x3c]
xor ebp, ebp
or ebx, 0xff00
cmp eax, ebp
lea edx, [esp + 0x60]
mov dword [esp + 0x44], edx
mov dword [esp + 0x4c], 0x64
mov dword [esp + 0x18], esi
mov dword [esp + 0x30], ebx
mov dword [esp + 0x48], ebp
mov byte [esp + 0x13], 0
mov dword [esp + 0x14], ebp
mov dword [esp + 0x20], ebp
jl 0x4a83a66d
lea eax, [esi + eax*2]
mov dword [esp + 0x24], eax
jmp 0x4a83a671
mov dword [esp + 0x24], ebp
jmp 0x4a83a680
mov edi, dword [esp + 0x24]
test edi, edi
mov ecx, esi
mov dword [esp + 0x34], ecx
jne 0x4a83a6e6
mov edi, edi
movzx eax, word [esi]
cmp ax, word [esp + 0x40]
mov dword [esp + 0x20], eax
jae 0x4a83a6aa
xor edx, edx
test ax, ax
setne dl
mov eax, edx
jmp 0x4a83a6d8
mov edi, dword [0x4a89e2c8]
movzx eax, ax
mov edx, eax
shr edx, 5
movzx edx, word [edi + edx*2]
and eax, 0x1f
lea eax, [eax + edx*4]
mov edx, dword [0x4a89e2cc]
mov eax, dword [edx + eax*4]
mov dword [esp + 0x14], eax
and eax, ebx
neg eax
sbb eax, eax
add eax, 1
test eax, eax
je 0x4a83a733
mov byte [esp + 0x13], 0
add esi, 2
jmp 0x4a83a690
cmp esi, edi
je 0x4a83a7a8
mov edx, dword [0x4a89e2c8]
movzx eax, word [esi]
cmp ax, word [esp + 0x40]
mov dword [esp + 0x20], eax
jb 0x4a83a725
movzx eax, ax
mov edi, eax
shr edi, 5
movzx edi, word [edx + edi*2]
and eax, 0x1f
lea eax, [eax + edi*4]
mov edi, dword [0x4a89e2cc]
mov eax, dword [edi + eax*4]
test ebx, eax
mov dword [esp + 0x14], eax
jne 0x4a83a733
add esi, 2
cmp esi, dword [esp + 0x24]
mov byte [esp + 0x13], 0
jne 0x4a83a6f4
cmp esi, ecx
je 0x4a83a7a4
mov eax, esi
sub eax, ecx
sar eax, 1
lea edi, [eax + ebp]
cmp edi, dword [esp + 0x130]
jg 0x4a83a762
lea edx, [eax + eax]
mov eax, dword [esp + 0x38]
push edx
push ecx
lea ecx, [eax + ebp*2]
push ecx
call fcn.4a8597a0
mov ecx, dword [esp + 0x40]
add esp, 0xc
movzx edx, word [esi - 2]
lea eax, [esi - 2]
and edx, 0xfffffc00
cmp edx, 0xdc00
mov ebp, edi
mov dword [esp + 0x48], ebp
mov dword [esp + 0x18], eax
jne 0x4a83a79e
cmp ecx, eax
jae 0x4a83a79e
movzx ecx, word [eax - 2]
and ecx, 0xfffffc00
cmp ecx, 0xd800
jne 0x4a83a79e
add eax, 0xfffffffe
mov dword [esp + 0x18], eax
mov dword [esp + 0x34], esi
mov ecx, esi
mov edi, dword [esp + 0x24]
xor eax, eax
test edi, edi
jne 0x4a83a7b5
cmp word [esp + 0x20], di
jmp 0x4a83a7b7
cmp esi, edi
sete al
test eax, eax
jne 0x4a83aa96
mov eax, dword [esp + 0x14]
add esi, 2
cmp eax, 0xfff00000
mov dword [esp + 0x1c], esi
jb 0x4a83a851
xor al, al
test ebp, ebp
mov byte [esp + 0x2c], al
mov byte [esp + 0x13], al
mov dword [esp + 0x48], ebp
jle 0x4a83a83d
cmp ebp, dword [esp + 0x130]
jg 0x4a83a7f9
mov edx, dword [esp + 0x38]
lea eax, [edx + ebp*2 - 2]
jmp 0x4a83a7fb
xor eax, eax
mov edx, dword [esp + 0x50]
mov cx, word [ecx - 2]
push edx
mov edx, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x144]
push eax
push edx
mov edx, dword [esp + 0x24]
lea eax, [esp + 0x2c]
push eax
mov eax, dword [esp + 0x34]
push edx
call fcn.4a83a050
mov esi, dword [esp + 0x34]
add esp, 0x18
test al, al
je 0x4a83a839
mov dword [esp + 0x18], esi
jmp 0x4a83a680
mov al, byte [esp + 0x2c]
mov ecx, dword [esp + 0x34]
xor edi, edi
mov ebx, 1
mov dword [esp + 0x18], ecx
jmp 0x4a83a915
cmp eax, 0xfc000000
jb 0x4a83a8bb
cmp esi, edi
je 0x4a83a8b3
movzx edi, word [esi]
movzx eax, di
mov edx, eax
and edx, 0xfffffc00
cmp edx, 0xdc00
jne 0x4a83a8b3
mov edx, dword [esp + 0x14]
mov ecx, eax
shr ecx, 5
shr edx, 0xb
and ecx, 0x1f
and edx, 0x7fe0
add ecx, edx
mov edx, dword [0x4a89e2c8]
movzx ecx, word [edx + ecx*2 + 0x1000]
add esi, 2
and eax, 0x1f
lea edx, [eax + ecx*4]
mov eax, dword [0x4a89e2cc]
mov ecx, dword [eax + edx*4]
mov ebx, 2
mov dword [esp + 0x14], ecx
jmp 0x4a83a8c2
mov dword [esp + 0x14], 0
mov ebx, 1
xor edi, edi
mov ecx, dword [esp + 0x50]
test ecx, ecx
mov dword [esp + 0x1c], ebx
je 0x4a83a8f8
test di, di
movzx eax, word [esp + 0x20]
je 0x4a83a8e5
sub eax, 0xd7f7
movzx edx, di
shl eax, 0xa
add eax, edx
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x18]
call eax
test al, al
je 0x4a83a8f8
mov byte [esp + 0x2c], 0
jmp 0x4a83a911
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x14]
test eax, ecx
jne 0x4a83a998
mov eax, ecx
shr eax, 8
mov byte [esp + 0x2c], al
mov al, byte [esp + 0x2c]
lea ecx, [ebx + ebp]
cmp ecx, dword [esp + 0x130]
jg 0x4a83a989
test al, al
je 0x4a83a960
cmp al, byte [esp + 0x13]
jae 0x4a83a960
mov edx, dword [esp + 0x38]
lea eax, [edx + ebp*2]
mov ebp, ecx
mov ecx, dword [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x24]
push edi
push ecx
lea ecx, [edx + ebp*2]
push ecx
push eax
mov eax, dword [esp + 0x5c]
lea ebx, [edx + eax*2]
call fcn.4a8392f0
mov ebx, dword [esp + 0x44]
add esp, 0x14
mov byte [esp + 0x13], al
jmp 0x4a83a680
mov ecx, dword [esp + 0x38]
mov dx, word [esp + 0x20]
mov word [ecx + ebp*2], dx
add ebp, 1
test di, di
je 0x4a83a97c
mov word [ecx + ebp*2], di
add ebp, 1
mov ebx, dword [esp + 0x30]
mov byte [esp + 0x13], al
jmp 0x4a83a680
mov ebx, dword [esp + 0x30]
mov ebp, ecx
mov byte [esp + 0x13], al
jmp 0x4a83a680
mov ecx, dword [esp + 0x30]
mov ebx, eax
mov eax, dword [esp + 0x14]
and ebx, 3
add ebx, ebx
add ebx, ebx
test ecx, eax
je 0x4a83a9e4
test eax, ebx
je 0x4a83a9ee
lea edx, [esp + 0x2b]
push edx
push ebx
lea edi, [esp + 0x5f]
lea ecx, [esp + 0x64]
call fcn.4a8383b0
add esp, 8
cmp byte [esp + 0x2b], 0
jne 0x4a83a9ee
mov edi, dword [esp + 0x30]
and edi, 0x3f
push edi
mov ecx, eax
call fcn.4a837bd0
add esp, 4
test edi, eax
jne 0x4a83a9ee
mov eax, dword [esp + 0x34]
mov dword [esp + 0x18], eax
jmp 0x4a83a9fa
mov eax, dword [esp + 0x34]
sub eax, dword [esp + 0x18]
sar eax, 1
sub ebp, eax
mov ecx, dword [esp + 0x40]
mov edi, dword [esp + 0x3c]
mov edx, dword [esp + 0x24]
push ecx
push ebx
push edi
push edx
mov eax, esi
call fcn.4a8395c0
mov ecx, dword [esp + 0x60]
mov esi, eax
mov eax, dword [esp + 0x68]
push eax
mov eax, dword [esp + 0x2c]
push ecx
lea edx, [esp + 0x2b]
push edx
push edi
push eax
lea ecx, [esp + 0x40]
push ecx
lea edx, [esp + 0x88]
push edx
mov eax, esi
lea edi, [esp + 0x78]
lea ebx, [esp + 0x70]
call fcn.4a83a4f0
add esp, 0x2c
test eax, eax
je 0x4a83aa94
mov ecx, dword [esp + 0x1c]
lea edx, [ecx + ebp]
cmp edx, dword [esp + 0x130]
jg 0x4a83aa85
test ecx, ecx
jle 0x4a83aa87
nop
mov dx, word [eax]
mov edi, dword [esp + 0x38]
mov word [edi + ebp*2], dx
sub ecx, 1
add ebp, 1
add eax, 2
test ecx, ecx
jg 0x4a83aa60
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x18], esi
jmp 0x4a83a680
mov ebp, edx
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x18], esi
jmp 0x4a83a680
xor ebp, ebp
mov eax, dword [esp + 0x44]
lea ecx, [esp + 0x60]
cmp eax, ecx
je 0x4a83aaab
push eax
call sym.icuuc30.dll_uprv_free_3_0
add esp, 4
mov ecx, dword [esp + 0x128]
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
xor ecx, esp
call fcn.4a859707
add esp, 0x11c
ret