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

Disassembly:
sub esp, 0xe8
mov eax, dword [0x4aa98440]
xor eax, esp
mov dword [esp + 0xe4], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [esp + 0x108]
lea ecx, [esp + 0xc4]
mov ebx, dword [esp + 0x110]
xor edx, edx
mov ebp, dword [esp + 0x100]
mov esi, dword [esp + 0x104]
mov dword [esp + 0x30], eax
mov eax, dword [eax]
mov dword [esp + 0x24], ecx
lea ecx, [esp + 0x78]
mov dword [esp + 0x58], eax
mov ah, byte [esi + 8]
mov dword [esp + 0x28], ecx
mov cl, byte [ebp + 8]
mov dword [esp + 0x74], edx
mov al, cl
mov dword [esp + 0x70], edx
xor al, ah
mov dword [esp + 0x40], edx
and al, 0x80
mov dword [esp + 0x60], edx
mov dl, cl
or dl, ah
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x2c], esi
mov dword [esp + 0x64], ebx
mov byte [esp + 0x12], al
mov edi, dword [esp + 0xfc]
mov dword [esp + 0x50], edi
test dl, 0x70
je 0x4a9c09bb
test dl, 0x30
je 0x4a9c091d
mov ecx, dword [esp + 0x30]
push ebx
push ecx
push esi
push ebp
push edi
call fcn.4a9c2ae1
add esp, 0x14
jmp 0x4a9c0f6a
test cl, 0x40
je 0x4a9c0954
test ah, 0x40
jne 0x4a9c0949
test byte [esp + 0x10c], 0x50
jne 0x4a9c0949
and dword [edi + 4], 0
mov dword [edi], 1
mov byte [edi + 9], 0
or al, 0x40
mov byte [edi + 8], al
jmp 0x4a9c0f6a
or dword [ebx], 0x80
jmp 0x4a9c0f6a
mov cl, byte [esp + 0x10c]
xor edx, edx
mov dword [esp + 0x14], edx
test cl, 0x50
je 0x4a9c097d
mov ecx, dword [esp + 0x30]
lea eax, [esp + 0x14]
push ebx
push eax
push ecx
push ebp
push edi
call fcn.4a9c07a2
add esp, 0x14
jmp 0x4a9c09a3
mov dword [edi + 4], edx
mov dword [edi], 1
mov byte [edi + 9], dl
mov byte [edi + 8], al
test cl, cl
jns 0x4a9c09a3
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx + 8]
sub eax, dword [ecx]
inc eax
mov dword [edi + 4], eax
or dword [ebx], 0x400
push ebx
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x38]
push edi
call fcn.4a9c1a4b
add esp, 0x10
jmp 0x4a9c0f6a
lea edx, [esi + 9]
cmp byte [edx], 0
mov dword [esp + 0x5c], edx
jne 0x4a9c0a17
xor edx, edx
inc edx
cmp dword [esi], edx
jne 0x4a9c0a17
test ah, 0x70
jne 0x4a9c0a17
cmp byte [ebp + 9], 0
jne 0x4a9c09f6
cmp dword [ebp], edx
jne 0x4a9c09f6
test cl, 0x70
jne 0x4a9c09f6
xor eax, eax
mov dword [edi], edx
mov word [edi + 8], ax
mov dword [edi + 4], eax
or dword [ebx], 8
jmp 0x4a9c0f6a
xor ecx, ecx
mov dword [edi], edx
test byte [esp + 0x10c], 0x50
mov word [edi + 8], cx
mov dword [edi + 4], ecx
jne 0x4a9c0949
or dword [ebx], 2
jmp 0x4a9c093f
cmp byte [ebp + 9], 0
jne 0x4a9c0aa2
xor edx, edx
inc edx
cmp dword [ebp], edx
jne 0x4a9c0aa2
test cl, 0x70
jne 0x4a9c0aa2
mov cl, byte [esp + 0x10c]
test cl, cl
jns 0x4a9c0a71
mov edx, dword [esp + 0x2c]
mov esi, dword [ebp + 4]
and dword [esp + 0x14], 0
push ebp
sub esi, dword [edx + 4]
push edi
call sym.icuin58.dll_uprv_decNumberCopy_58
mov al, byte [esp + 0x1a]
mov byte [edi + 8], al
lea eax, [esp + 0x1c]
push ebx
push eax
push dword [esp + 0x40]
mov dword [edi + 4], esi
push edi
call fcn.4a9c1a4b
add esp, 0x18
jmp 0x4a9c0f6a
test cl, 0x20
je 0x4a9c0a85
mov dword [edi], edx
and dword [edi + 4], 0
mov byte [edi + 9], 0
jmp 0x4a9c0941
mov esi, dword [esi + 4]
push ebp
push edi
call sym.icuin58.dll_uprv_decNumberCopy_58
pop ecx
pop ecx
cmp esi, dword [edi + 4]
jge 0x4a9c0f6a
mov dword [edi + 4], esi
jmp 0x4a9c0f6a
mov ecx, dword [esi + 4]
mov edx, dword [esp + 0x2c]
mov esi, dword [ebp + 4]
sub esi, ecx
sub esi, dword [edx]
add esi, dword [ebp]
mov dword [esp + 0x20], esi
jns 0x4a9c0b0d
mov dl, byte [esp + 0x10c]
cmp dl, 0x80
je 0x4a9c0b0d
test dl, 0x20
je 0x4a9c0ad2
mov dword [edi], 1
jmp 0x4a9c0a78
cmp dword [ebp + 4], ecx
jg 0x4a9c0b0d
test dl, 0x40
jne 0x4a9c0ae1
cmp esi, 0xffffffff
jge 0x4a9c0b0d
mov esi, dword [esp + 0x30]
lea eax, [esp + 0x14]
and dword [esp + 0x14], 0
push ebx
push eax
push esi
push ebp
push edi
call fcn.4a9c07a2
push ebx
lea eax, [esp + 0x2c]
push eax
push esi
push edi
call fcn.4a9c1a4b
add esp, 0x24
jmp 0x4a9c0f6a
mov ecx, dword [esp + 0x58]
lea eax, [ecx + 1]
mov dword [esp + 0x3c], eax
cmp eax, 0x31
jg 0x4a9c0b28
movzx eax, byte [ecx + 0x4aa1ba81]
mov dword [esp + 0x3c], eax
cmp eax, 0x2f
jbe 0x4a9c0b4c
push eax
call sub.icuuc58.dll_uprv_malloc_58
mov dword [esp + 0x78], eax
pop ecx
test eax, eax
jne 0x4a9c0b44
or dword [ebx], 0x10
jmp 0x4a9c0f6a
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x2c]
mov eax, dword [eax]
dec eax
add eax, ecx
cmp dword [ebp], eax
jle 0x4a9c0b5d
mov eax, dword [ebp]
cmp eax, 0x31
jg 0x4a9c0b69
movzx eax, byte [eax + 0x4aa1ba80]
mov cl, byte [esp + 0x10c]
add eax, 2
and cl, 0x80
mov dword [esp + 0x18], eax
mov byte [esp + 0x13], cl
jne 0x4a9c0b85
inc eax
mov dword [esp + 0x18], eax
inc eax
cmp eax, 0x49
jbe 0x4a9c0ba8
push eax
call sub.icuuc58.dll_uprv_malloc_58
mov dword [esp + 0x74], eax
pop ecx
test eax, eax
jne 0x4a9c0ba2
or dword [ebx], 0x10
jmp 0x4a9c0f5b
mov dword [esp + 0x28], eax
jmp 0x4a9c0bac
lea eax, [esp + 0x78]
mov ecx, dword [esp + 0x18]
dec ecx
add ecx, eax
mov eax, dword [ebp]
mov dword [esp + 0x38], ecx
cmp eax, 0x31
jg 0x4a9c0bc6
movzx eax, byte [eax + 0x4aa1ba80]
lea edx, [ebp + 8]
add edx, eax
lea eax, [ebp + 9]
cmp edx, eax
jb 0x4a9c0bdf
lea edi, [ebp + 9]
mov al, byte [edx]
mov byte [ecx], al
dec ecx
dec edx
cmp edx, edi
jae 0x4a9c0bd5
mov edx, dword [esp + 0x28]
jmp 0x4a9c0be9
mov byte [ecx], 0
dec ecx
cmp ecx, edx
jae 0x4a9c0be5
mov eax, dword [esp + 0x18]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x2c]
mov eax, dword [eax]
mov dword [esp + 0x44], eax
cmp eax, 0x31
jg 0x4a9c0c0f
movzx eax, byte [eax + 0x4aa1ba80]
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 0x5c]
dec ecx
add eax, ecx
mov dword [esp + 0x6c], eax
mov al, byte [eax]
movzx ecx, al
mov byte [esp + 0x11], al
mov eax, dword [esp + 0x44]
mov dword [esp + 0x68], ecx
cmp eax, 1
jle 0x4a9c0c34
inc dword [esp + 0x68]
imul ebx, ecx, 0xa
mov dword [esp + 0x54], ebx
cmp eax, 1
jle 0x4a9c0c57
mov eax, dword [esp + 0x6c]
movzx eax, byte [eax - 1]
add dword [esp + 0x54], eax
cmp dword [esp + 0x44], 2
jle 0x4a9c0c57
inc dword [esp + 0x54]
mov edx, dword [esp + 0x38]
mov eax, 0x4aa1bab8
mov dl, byte [edx]
movzx edi, dl
mov byte [esp + 0x37], dl
mov edx, dword [esp + 0x28]
mov dword [esp + 0x48], edi
cmp edi, 0xa
jb 0x4a9c0c82
lea eax, [eax + 4]
dec esi
cmp edi, dword [eax]
jae 0x4a9c0c76
mov dword [esp + 0x20], esi
mov eax, 0x4aa1bab8
cmp ecx, 0xa
jb 0x4a9c0c98
lea eax, [eax + 4]
inc esi
cmp ecx, dword [eax]
jae 0x4a9c0c8c
mov dword [esp + 0x20], esi
cmp byte [esp + 0x13], 0
jne 0x4a9c0d77
mov eax, dword [ebp]
cmp eax, 0x31
jg 0x4a9c0cb2
movzx eax, byte [eax + 0x4aa1ba80]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x40], ecx
sub dword [esp + 0x40], eax
test esi, esi
jns 0x4a9c0cc6
neg esi
jmp 0x4a9c0cc9
xor esi, esi
inc esi
push esi
push ecx
push edx
call fcn.4a9c3340
add dword [esp + 0x2c], esi
add esp, 0xc
sub dword [esp + 0x40], esi
cmp esi, 1
jl 0x4a9c0cf1
mov eax, dword [esp + 0x38]
sub eax, esi
mov byte [eax + esi], 0
dec esi
cmp esi, 1
jge 0x4a9c0ce7
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x3c]
xor edx, edx
mov ebp, dword [esp + 0x24]
dec ecx
mov edi, dword [esp + 0x14]
add ebp, ecx
mov ecx, dword [esp + 0x44]
xor ebx, ebx
mov dword [esp + 0x1c], edx
sub edi, ecx
mov edx, dword [esp + 0x28]
mov dword [esp + 0x24], edx
sub dword [esp + 0x24], ecx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x3c], edi
mov byte [esp + 0x11], 0
mov ecx, dword [esp + 0x38]
cmp byte [ecx], 0
jne 0x4a9c0d4b
cmp ecx, edx
jbe 0x4a9c0d43
dec eax
dec ecx
cmp byte [ecx], 0
je 0x4a9c0d38
mov dword [esp + 0x38], ecx
mov dword [esp + 0x18], eax
cmp eax, dword [esp + 0x14]
jl 0x4a9c0e3b
jne 0x4a9c0dd3
mov esi, dword [esp + 0x6c]
mov eax, ecx
sub esi, ecx
lea edi, [esi + eax]
xor cl, cl
cmp edi, dword [esp + 0x5c]
jb 0x4a9c0d6c
mov cl, byte [edi]
cmp byte [eax], cl
jne 0x4a9c0da8
cmp eax, edx
je 0x4a9c0da8
dec eax
jmp 0x4a9c0d5f
mov eax, dword [esp + 0x2c]
mov ecx, dword [ebp + 4]
sub ecx, dword [eax + 4]
mov al, byte [esp + 0x11]
mov dword [esp + 0x60], ecx
cmp byte [esp + 0x37], al
jae 0x4a9c0cf5
mov eax, dword [esp + 0x18]
dec esi
mov dword [esp + 0x20], esi
lea ecx, [eax - 1]
mov dword [esp + 0x14], ecx
jmp 0x4a9c0cf9
mov al, byte [eax]
mov esi, dword [esp + 0x20]
cmp al, cl
jb 0x4a9c0e3b
je 0x4a9c0e24
mov edx, dword [esp + 0x38]
mov edi, dword [esp + 0x3c]
movzx eax, byte [edx]
imul ecx, eax, 0xa
movzx eax, byte [edx - 1]
add eax, ecx
cdq
idiv dword [esp + 0x54]
jmp 0x4a9c0de8
movzx eax, byte [ecx]
imul ecx, eax, 0xa
mov eax, dword [esp + 0x38]
movzx eax, byte [eax - 1]
add eax, ecx
cdq
idiv dword [esp + 0x68]
test eax, eax
jne 0x4a9c0ded
inc eax
add byte [esp + 0x11], al
neg eax
mov ecx, dword [esp + 0x24]
add ecx, dword [esp + 0x14]
push eax
mov eax, dword [esp + 0x1c]
push ecx
push 0
push dword [esp + 0x50]
sub eax, edi
push dword [esp + 0x6c]
push eax
push ecx
call fcn.4a9c3c0f
mov edx, dword [esp + 0x44]
add esp, 0x1c
mov eax, dword [esp + 0x18]
jmp 0x4a9c0d2f
mov ch, byte [esp + 0x11]
inc ch
mov byte [edx], 0
mov byte [esp + 0x11], ch
mov dword [esp + 0x18], 1
jmp 0x4a9c0e3f
mov ch, byte [esp + 0x11]
test ebx, ebx
jne 0x4a9c0e47
test ch, ch
je 0x4a9c0e96
mov byte [ebp], ch
mov ecx, dword [esp + 0x1c]
inc ecx
mov dword [esp + 0x1c], ecx
test ebx, ebx
jne 0x4a9c0e76
movzx edi, byte [esp + 0x11]
mov eax, 0x4aa1bab8
cmp edi, 0xa
jb 0x4a9c0e72
add eax, 4
inc ecx
cmp edi, dword [eax]
jae 0x4a9c0e66
mov dword [esp + 0x1c], ecx
mov ebx, dword [esp + 0x48]
inc ebx
dec ebp
mov dword [esp + 0x48], ebx
cmp ecx, dword [esp + 0x58]
jle 0x4a9c0e9a
mov dword [esp + 0x24], ebp
test ebx, ebx
jne 0x4a9c0edd
xor ecx, ecx
mov byte [ebp], bl
inc ecx
mov dword [esp + 0x1c], ecx
jmp 0x4a9c0ee2
mov ecx, dword [esp + 0x1c]
cmp byte [edx], 0
mov eax, dword [esp + 0x18]
jne 0x4a9c0ebf
cmp eax, 1
jne 0x4a9c0ebf
test byte [esp + 0x10c], 0x50
jne 0x4a9c0e82
cmp byte [esp + 0x13], 0
je 0x4a9c0ebf
cmp esi, dword [esp + 0x60]
jle 0x4a9c0e82
test esi, esi
jne 0x4a9c0eca
cmp byte [esp + 0x13], 0
je 0x4a9c0e82
dec dword [esp + 0x14]
mov edi, dword [esp + 0x3c]
dec edi
dec esi
mov dword [esp + 0x20], esi
jmp 0x4a9c0d26
inc ebp
mov dword [esp + 0x24], ebp
and dword [esp + 0x14], 0
cmp byte [esp + 0x13], 0
mov edi, dword [esp + 0x50]
mov ebx, dword [esp + 0x64]
mov ebp, dword [esp + 0x4c]
je 0x4a9c0f85
cmp byte [edx], 0
jne 0x4a9c0f0a
cmp dword [esp + 0x18], 1
jle 0x4a9c0f12
mov dword [esp + 0x14], 1
mov edx, dword [esp + 0x1c]
mov al, byte [esp + 0x12]
mov esi, dword [esp + 0x30]
and al, 0x80
mov ecx, dword [esp + 0x20]
push ebx
mov byte [edi + 8], al
lea eax, [esp + 0x18]
push eax
push edx
push dword [esp + 0x30]
mov dword [edi + 4], ecx
push esi
push edi
call fcn.4a9c2e5c
push ebx
lea eax, [esp + 0x30]
push eax
push esi
push edi
call fcn.4a9c1a4b
add esp, 0x28
mov eax, dword [esp + 0x70]
test eax, eax
je 0x4a9c0f5b
push eax
call sub.icuuc58.dll_uprv_free_58
pop ecx
mov eax, dword [esp + 0x74]
test eax, eax
je 0x4a9c0f6a
push eax
call sub.icuuc58.dll_uprv_free_58
pop ecx
mov ecx, dword [esp + 0xf4]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.4a9ebf20
add esp, 0xe8
ret
lea eax, [ecx + esi]
cmp eax, dword [esp + 0x58]
jle 0x4a9c0f93
or dword [ebx], 4
jmp 0x4a9c0f4c
test byte [esp + 0x10c], 0x50
je 0x4a9c0f12
cmp byte [edx], 0
mov al, byte [ebp + 8]
mov byte [esp + 0x13], 0
mov byte [esp + 0x12], al
jne 0x4a9c0ff2
cmp dword [esp + 0x18], 1
jne 0x4a9c0ff2
mov edx, dword [esp + 0x2c]
mov ecx, dword [ebp + 4]
cmp dword [edx + 4], ecx
jge 0x4a9c0fc8
mov ecx, dword [edx + 4]
and al, 0x80
mov dword [edi], 1
mov byte [edi + 9], 0
mov byte [edi + 8], al
lea eax, [esp + 0x14]
push ebx
push eax
push dword [esp + 0x38]
mov dword [edi + 4], ecx
push edi
call fcn.4a9c1a4b
add esp, 0x10
jmp 0x4a9c0f4c
mov eax, dword [esp + 0x24]
test byte [eax], 1
je 0x4a9c1000
mov byte [esp + 0x13], 1
mov dword [esp + 0x64], eax
mov esi, ecx
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x40]
mov eax, dword [eax + 4]
sub eax, dword [ebp + 4]
add eax, dword [esp + 0x20]
add eax, ecx
cmp ecx, eax
jge 0x4a9c1020
mov eax, ecx
push eax
push dword [esp + 0x1c]
push edx
call fcn.4a9c3340
mov ecx, dword [esp + 0x34]
push eax
push ecx
mov dword [esp + 0x38], ecx
call fcn.4a9c1bae
add esp, 0x14
mov dword [esp + 0x1c], eax
cmp eax, 0x31
jg 0x4a9c104d
movzx eax, byte [eax + 0x4aa1ba80]
mov ecx, dword [esp + 0x2c]
mov ebp, dword [ebp + 4]
mov dword [esp + 0x60], eax
mov dword [esp + 0x20], ebp
cmp dword [ecx + 4], ebp
jge 0x4a9c1068
mov ebp, dword [ecx + 4]
mov dword [esp + 0x20], ebp
test byte [esp + 0x10c], 0x10
je 0x4a9c0f12
mov ecx, dword [esp + 0x28]
push 1
push ecx
push 0
push eax
push ecx
push eax
push ecx
call fcn.4a9c3c0f
mov edx, eax
add esp, 0x1c
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x4c], edx
mov ecx, dword [eax]
cmp ecx, 0x31
jg 0x4a9c10a3
movzx ecx, byte [ecx + 0x4aa1ba80]
mov eax, dword [eax + 4]
sub eax, ebp
push eax
push ecx
push dword [esp + 0x64]
mov ecx, dword [esp + 0x34]
push edx
push ecx
call fcn.4a9c3ecb
mov ebp, eax
add esp, 0x14
cmp ebp, 0x80000000
jne 0x4a9c10ce
or dword [ebx], 0x10
jmp 0x4a9c0f4c
mov ecx, dword [esp + 0x28]
mov edx, ecx
mov eax, dword [esp + 0x4c]
add eax, ecx
mov dword [esp + 0x4c], eax
cmp ecx, eax
jae 0x4a9c10ff
mov edi, eax
mov cl, byte [edx]
movzx eax, cl
shr cl, 1
mov byte [edx], cl
and eax, 1
je 0x4a9c10f6
add byte [edx - 1], 5
inc edx
cmp edx, edi
jb 0x4a9c10e4
mov edi, dword [esp + 0x50]
test ebp, ebp
jg 0x4a9c1114
jne 0x4a9c0f12
cmp byte [esp + 0x13], 0
je 0x4a9c0f12
cmp esi, dword [esp + 0x58]
jne 0x4a9c113f
mov eax, dword [esp + 0x64]
cmp esi, 1
jle 0x4a9c112c
cmp byte [eax], 9
jne 0x4a9c113f
dec esi
inc eax
jmp 0x4a9c111e
mov ecx, dword [esi*4 + 0x4aa1bab4]
movzx eax, byte [eax]
dec ecx
cmp eax, ecx
je 0x4a9c0f8e
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + 4]
sub ecx, dword [esp + 0x20]
mov eax, dword [eax]
cmp eax, 0x31
jg 0x4a9c1158
movzx eax, byte [eax + 0x4aa1ba80]
mov esi, dword [esp + 0x28]
push 0xffffffffffffffff
push esi
push ecx
push eax
push dword [esp + 0x6c]
push dword [esp + 0x74]
push esi
call fcn.4a9c3c0f
neg eax
push eax
push esi
call fcn.4a9c1bae
mov edx, eax
add esp, 0x24
mov al, byte [esp + 0x12]
xor al, 0x80
jmp 0x4a9c0f1a