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

Disassembly:
sub esp, 0x58
push ebx
mov ebx, dword [esp + 0x64]
cmp dword [ebx], 0
jle 0x49cc64
xor eax, eax
pop ebx
add esp, 0x58
ret
push ebp
push edi
push ebx
push 0
push fcn.0049c3a0
lea ecx, [esp + 0x40]
call fcn.00499290
push ebx
push 0
lea ecx, [esp + 0x3c]
call fcn.004882b0
mov edi, dword [esp + 0x68]
xor ebp, ebp
cmp byte [edi + 0xc], 0
je 0x49ccab
push 0x38
call fcn.004773b0
add esp, 4
test eax, eax
je 0x49cca9
push ebx
mov ecx, eax
call fcn.00493660
mov ebp, eax
jmp 0x49ccab
xor ebp, ebp
cmp dword [ebx], 0
jle 0x49ccc2
lea ecx, [esp + 0x34]
call fcn.004992c0
pop edi
pop ebp
xor eax, eax
pop ebx
add esp, 0x58
ret
push esi
push 0x3c
call fcn.004773b0
mov esi, eax
add esp, 4
test esi, esi
je 0x49cd0e
lea ecx, [esi + 0x14]
mov dword [esi], vtable.icu_46::BuildCompactTrieNode.0
call fcn.00476570
xor ecx, ecx
mov byte [esi + 4], 1
mov byte [esi + 0xc], 0
mov dword [esi + 8], 0
mov byte [esi + 0xd], 0
mov eax, dword [esp + 0x3c]
push ebx
mov word [esi + 0x38], cx
push esi
lea ecx, [esp + 0x40]
mov dword [esi + 0x10], eax
call fcn.00488280
jmp 0x49cd14
mov dword [ebx], 7
mov eax, dword [edi + 4]
push 0
push ebp
push ebx
lea edx, [esp + 0x44]
push edx
push 0
push eax
call fcn.0049c800
lea ecx, [esp + 0x50]
push ebx
push ecx
mov dword [esp + 0x3c], eax
call fcn.0049cb40
mov eax, dword [esp + 0x5c]
add esp, 0x20
push ebx
mov edi, eax
push eax
lea ecx, [esp + 0x2c]
mov dword [esp + 0x1c], 0x10
mov dword [esp + 0x20], edi
call fcn.0049da00
mov eax, dword [esp + 0x28]
add eax, 1
js 0x49cd66
cmp dword [esp + 0x2c], eax
jge 0x49cd75
push ebx
push eax
lea ecx, [esp + 0x2c]
call fcn.0049d8b0
test al, al
je 0x49cd88
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x34]
mov dword [edx + eax*4], 0
inc dword [esp + 0x28]
cmp dword [ebx], 0
jg 0x49ce73
push ebx
lea ecx, [esp + 0x54]
xor esi, esi
call fcn.004880f0
test ebp, ebp
je 0x49cdaf
mov ecx, dword [ebp]
push ecx
call fcn.00471e10
add esp, 4
mov esi, eax
lea ebp, [esi + 1]
mov esi, 1
cmp edi, esi
mov dword [esp + 0x10], 1
mov dword [esp + 0x20], ebp
jle 0x49ce3c
jmp 0x49cdd0
push esi
lea ecx, [esp + 0x3c]
call fcn.00487e60
mov edi, eax
mov eax, dword [edi + 0x10]
cmp eax, esi
jne 0x49ce35
cmp eax, dword [esp + 0x28]
jl 0x49cdf6
lea edx, [esi + 1]
push edx
lea ecx, [esp + 0x28]
call fcn.0049da30
cmp dword [edi + 8], 2
jne 0x49ce1c
push ebx
push edi
lea ecx, [esp + 0x58]
call fcn.00488280
mov eax, dword [esp + 0x10]
push esi
push eax
lea ecx, [esp + 0x2c]
call fcn.0049d880
inc dword [esp + 0x10]
jmp 0x49ce28
push esi
push ebp
lea ecx, [esp + 0x2c]
call fcn.0049d880
inc ebp
mov edx, dword [edi]
mov eax, dword [edx + 4]
mov ecx, edi
call eax
add dword [esp + 0x14], eax
inc esi
cmp esi, dword [esp + 0x18]
jl 0x49cdd0
cmp ebp, 0x100000
jle 0x49ce4c
mov dword [ebx], 1
jmp 0x49ce6a
mov ecx, dword [esp + 0x14]
lea edx, [ecx + ebp*4]
push edx
call fcn.0045bb10
mov esi, eax
xor edi, edi
add esp, 4
cmp esi, edi
jne 0x49ce8f
mov dword [ebx], 7
lea ecx, [esp + 0x50]
call fcn.00488250
lea ecx, [esp + 0x24]
call fcn.0049d850
lea ecx, [esp + 0x38]
call fcn.004992c0
pop esi
pop edi
pop ebp
xor eax, eax
pop ebx
add esp, 0x58
ret
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x1c]
xor eax, eax
cmp byte [ecx + 0xc], al
mov dword [esi + 8], ebp
setne al
mov dword [esi + 0x10], edi
mov dword [esp + 0x14], esi
add eax, 0x44696302
mov dword [esi + 4], eax
mov eax, dword [edx + 0x10]
cmp eax, edi
jl 0x49cec7
cmp eax, dword [esp + 0x28]
jge 0x49cec7
mov ecx, dword [esp + 0x34]
mov eax, dword [ecx + eax*4]
jmp 0x49cec9
xor eax, eax
mov dword [esi + 0xc], eax
cmp dword [esp + 0x54], 0
lea edx, [ebp*4 + 0x10]
mov dword [esp + 0x70], edx
jle 0x49cf11
lea ebp, [esi + 0x14]
push edi
lea ecx, [esp + 0x54]
mov dword [esp + 0x20], 0
call fcn.00487e60
mov edx, dword [eax]
mov edx, dword [edx + 8]
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x20]
push ecx
push ebp
mov ecx, eax
call edx
inc edi
add ebp, 4
cmp edi, dword [esp + 0x54]
jl 0x49cee1
mov edi, 1
cmp dword [esp + 0x18], edi
jle 0x49cf5e
mov eax, dword [esp + 0x20]
lea ebp, [esi + eax*4 + 0x10]
push edi
lea ecx, [esp + 0x3c]
call fcn.00487e60
cmp dword [eax + 0x10], edi
jne 0x49cf57
cmp dword [eax + 8], 2
je 0x49cf57
mov ecx, dword [esp + 0x70]
mov dword [ebp], ecx
mov edx, dword [eax]
mov edx, dword [edx + 8]
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x74]
push ecx
push esi
mov ecx, eax
add ebp, 4
call edx
inc edi
cmp edi, dword [esp + 0x18]
jl 0x49cf24
mov eax, dword [esp + 0x70]
push eax
push esi
call fcn.0045bb50
mov ecx, dword [esp + 0x78]
add esp, 8
mov dword [esi], ecx
cmp dword [ebx], 0
jle 0x49cf84
push esi
call fcn.0045bbf0
add esp, 4
xor esi, esi
jmp 0x49cf88
mov esi, dword [esp + 0x14]
lea ecx, [esp + 0x50]
call fcn.00488250
lea ecx, [esp + 0x24]
call fcn.0049d850
lea ecx, [esp + 0x38]
call fcn.004992c0
mov eax, esi
pop esi
pop edi
pop ebp
pop ebx
add esp, 0x58
ret