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

Disassembly:
sub esp, 0xc3c
mov eax, dword [0x4a89c5b8]
xor eax, esp
mov dword [esp + 0xc38], eax
mov eax, dword [esp + 0xc4c]
push ebx
mov ebx, dword [esp + 0xc4c]
push ebp
mov ebp, dword [esp + 0xc4c]
push esi
mov esi, dword [esp + 0xc4c]
push edi
mov edi, dword [esp + 0xc60]
push edi
push eax
push ebx
push ebp
push esi
mov dword [esp + 0x2c], eax
call sym.icuuc30.dll_udata_swapDataHeader_3_0
add esp, 0x14
test edi, edi
mov dword [esp + 0x34], eax
je 0x4a81782f
cmp dword [edi], 0
jg 0x4a81782f
mov cl, byte [ebp + 0xc]
cmp cl, 0x43
jne 0x4a817803
cmp byte [ebp + 0xd], 0x76
jne 0x4a817803
cmp byte [ebp + 0xe], 0x41
jne 0x4a817803
cmp byte [ebp + 0xf], 0x6c
jne 0x4a817803
cmp byte [ebp + 0x10], 3
jne 0x4a817803
test ebx, ebx
jl 0x4a8173cc
mov ecx, ebx
sub ecx, eax
cmp ecx, 0x24
jge 0x4a8173cc
push ecx
push str.ucnv_swapAliases__:_too_few_bytes___d_after_header__for_an_alias_table_n
push esi
call sym.icuuc30.dll_udata_printError_3_0
add esp, 0xc
mov dword [edi], 8
jmp 0x4a81782f
mov ecx, dword [esi + 8]
lea ebx, [eax + ebp]
mov eax, dword [ebx]
push eax
mov dword [esp + 0x20], ebx
call ecx
add esp, 4
cmp eax, 8
mov dword [esp + 0x10], eax
mov dword [esp + 0x6c], eax
jae 0x4a817405
push eax
push str.ucnv_swapAliases__:_table_of_contents_too_short___u_sections__n
push esi
call sym.icuuc30.dll_udata_printError_3_0
add esp, 0xc
mov dword [edi], 3
jmp 0x4a81782f
mov ebp, 1
lea ebx, [ebx]
mov edx, dword [ebx + ebp*4]
mov eax, dword [esi + 8]
push edx
call eax
mov dword [esp + ebp*4 + 0x70], eax
add ebp, 1
add esp, 4
cmp ebp, 8
jbe 0x4a817410
mov ecx, dword [esp + 0x10]
lea edx, [ecx + ecx + 2]
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], edx
xor eax, eax
mov ecx, 7
mov edx, dword [esp + eax + 0x4c]
add edx, dword [esp + eax + 0x70]
add eax, 4
sub ecx, 1
mov dword [esp + eax + 0x4c], edx
jne 0x4a817443
mov eax, dword [esp + 0x8c]
mov ebp, dword [esp + 0x68]
lea edx, [eax + ebp]
mov eax, dword [esp + 0xc58]
test eax, eax
mov dword [esp + 0x40], edx
jl 0x4a8177f6
mov ecx, dword [esp + 0x34]
sub eax, ecx
add edx, edx
cmp eax, edx
jge 0x4a81749e
push eax
push str.ucnv_swapAliases__:_too_few_bytes___d_after_header__for_an_alias_table_n
push esi
call sym.icuuc30.dll_udata_printError_3_0
add esp, 0xc
mov dword [edi], 8
jmp 0x4a81782f
mov eax, dword [esp + 0x18]
lea ebx, [eax + ecx]
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
push edi
push ebx
lea edx, [ecx*4 + 4]
mov ecx, dword [esi + 0x1c]
push edx
push eax
push esi
mov dword [esp + 0x58], ebx
call ecx
mov edx, dword [esp + 0xa0]
mov ecx, dword [esp + 0x30]
push edi
lea eax, [ebx + ebp*2]
push eax
mov dword [esp + 0x34], eax
lea eax, [edx + edx]
push eax
mov eax, dword [esi + 0x20]
lea edx, [ecx + ebp*2]
push edx
push esi
call eax
mov eax, dword [edi]
add esp, 0x28
test eax, eax
jle 0x4a817507
push eax
call sym.icuuc30.dll_u_errorName_3_0
push eax
push str.ucnv_swapAliases__.swapInvChars_charset_names__failed____s_n
push esi
call sym.icuuc30.dll_udata_printError_3_0
add esp, 0x10
jmp 0x4a81782f
mov cl, byte [esi + 1]
cmp cl, byte [esi + 3]
jne 0x4a81753e
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x1c]
push edi
lea edx, [ebx + eax*2]
push edx
sub ebp, eax
add ebp, ebp
lea edx, [ecx + eax*2]
mov eax, dword [esi + 0x18]
push ebp
push edx
push esi
call eax
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x54]
add esp, 0x14
lea eax, [edx + eax*2]
jmp 0x4a817831
mov ebp, dword [esp + 0x78]
cmp ebp, 0x1f4
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x24], ecx
ja 0x4a81756a
lea edx, [esp + 0x90]
lea eax, [esp + 0x860]
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], eax
jmp 0x4a8175a2
lea ecx, [ebp + ebp*2]
add ecx, ecx
push ecx
call sym.icuuc30.dll_uprv_malloc_3_0
add esp, 4
test eax, eax
mov dword [esp + 0x28], eax
jne 0x4a81759b
push ebp
push str.ucnv_swapAliases__:_unable_to_allocate_memory_for_sorting_tables__max_length:__u__n
push esi
call sym.icuuc30.dll_udata_printError_3_0
add esp, 0xc
mov dword [edi], 7
jmp 0x4a81782f
lea edx, [eax + ebp*4]
mov dword [esp + 0x2c], edx
cmp byte [esi + 3], 0
mov dword [esp + 0x30], fcn.4a8165f0
je 0x4a8175b8
mov dword [esp + 0x30], 0x4a816640
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x1c]
lea eax, [edx + ecx*2]
lea ecx, [ebx + ecx*2]
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x20], eax
lea eax, [ebx + ecx*2]
lea edx, [edx + ecx*2]
xor ebx, ebx
test ebp, ebp
mov dword [esp + 0x3c], edx
mov dword [esp + 0x18], eax
jbe 0x4a817619
jmp 0x4a8175f0
mov ecx, dword [esp + 0x20]
movzx edx, word [ecx + ebx*2]
mov eax, dword [esi + 4]
push edx
call eax
mov ecx, dword [esp + 0x2c]
mov word [ecx + ebx*4], ax
mov edx, dword [esp + 0x2c]
mov word [edx + ebx*4 + 2], bx
add ebx, 1
add esp, 4
cmp ebx, ebp
jb 0x4a8175f0
mov ecx, dword [esp + 0x28]
push edi
push 0
lea eax, [esp + 0x2c]
push eax
push 0x4a817270
push 4
push ebp
push ecx
call sym.icuuc30.dll_uprv_sortArray_3_0
xor ebx, ebx
add esp, 0x1c
cmp dword [edi], ebx
jg 0x4a817778
mov ecx, dword [esp + 0x38]
cmp dword [esp + 0x20], ecx
je 0x4a8176cf
cmp ebp, ebx
mov dword [esp + 0x10], ebx
jbe 0x4a817778
mov eax, dword [esp + 0x18]
sub ecx, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
jmp 0x4a817674
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x10]
movzx eax, word [edx + eax*4 + 2]
mov edx, dword [esp + 0x14]
movzx ebx, ax
mov eax, dword [esp + 0x20]
push edi
add ecx, edx
mov edx, dword [esi + 0x18]
push ecx
add ebx, ebx
push 2
lea ecx, [ebx + eax]
push ecx
push esi
call edx
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x50]
mov edx, dword [esi + 0x18]
push edi
push eax
push 2
add ebx, ecx
push ebx
push esi
call edx
mov eax, dword [esp + 0x38]
add dword [esp + 0x3c], 2
add eax, 1
add esp, 0x28
cmp eax, ebp
mov dword [esp + 0x10], eax
jb 0x4a817670
jmp 0x4a817778
test ebp, ebp
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x14], eax
jbe 0x4a817712
mov dword [esp + 0x10], eax
nop
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x10]
movzx edx, word [ecx + ebx*4 + 2]
push edi
push eax
mov eax, dword [esp + 0x28]
lea ecx, [eax + edx*2]
mov edx, dword [esi + 0x18]
push 2
push ecx
push esi
call edx
add dword [esp + 0x24], 2
add ebx, 1
add esp, 0x14
cmp ebx, ebp
jb 0x4a8176e0
mov ecx, dword [esp + 0x38]
lea eax, [ebp + ebp]
push eax
mov eax, dword [esp + 0x18]
push eax
push ecx
call fcn.4a8597a0
add esp, 0xc
xor ebx, ebx
test ebp, ebp
jbe 0x4a817761
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x10]
movzx ecx, word [eax + ebx*4 + 2]
push edi
push edx
mov edx, dword [esp + 0x44]
lea eax, [edx + ecx*2]
mov ecx, dword [esi + 0x18]
push 2
push eax
push esi
call ecx
add dword [esp + 0x24], 2
add ebx, 1
add esp, 0x14
cmp ebx, ebp
jb 0x4a817733
mov edx, dword [esp + 0x14]
lea eax, [ebp + ebp]
push eax
mov eax, dword [esp + 0x1c]
push edx
push eax
call fcn.4a8597a0
add esp, 0xc
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x90]
cmp eax, ecx
je 0x4a817790
push eax
call sym.icuuc30.dll_uprv_free_3_0
add esp, 4
mov eax, dword [edi]
test eax, eax
jle 0x4a8177b1
push eax
call sym.icuuc30.dll_u_errorName_3_0
push eax
push ebp
push str.ucnv_swapAliases__.uprv_sortArray__u_items__failed____s_n
push esi
call sym.icuuc30.dll_udata_printError_3_0
add esp, 0x14
jmp 0x4a81782f
mov ecx, dword [esp + 0x4c]
mov ebx, dword [esp + 0x44]
mov eax, dword [esp + 0x54]
mov ebp, dword [esp + 0x1c]
push edi
sub eax, ecx
lea edx, [ebx + ecx*2]
push edx
add eax, eax
push eax
lea eax, [ebp + ecx*2]
mov ecx, dword [esi + 0x18]
push eax
push esi
call ecx
mov ecx, dword [esp + 0x70]
mov eax, dword [esp + 0x7c]
push edi
sub eax, ecx
lea edx, [ebx + ecx*2]
push edx
add eax, eax
push eax
lea eax, [ebp + ecx*2]
mov ecx, dword [esi + 0x18]
push eax
push esi
call ecx
add esp, 0x28
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x40]
lea eax, [edx + eax*2]
jmp 0x4a817831
movzx edx, byte [ebp + 0x10]
movzx eax, byte [ebp + 0xf]
push edx
movzx edx, byte [ebp + 0xe]
push eax
movzx eax, byte [ebp + 0xd]
push edx
push eax
movzx ecx, cl
push ecx
push str.ucnv_swapAliases__:_data_format__02x._02x._02x._02x__format_version__02x__is_not_an_alias_table_n
push esi
call sym.icuuc30.dll_udata_printError_3_0
add esp, 0x1c
mov dword [edi], 0x10
xor eax, eax
mov ecx, dword [esp + 0xc48]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.4a859707
add esp, 0xc3c
ret