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

Disassembly:
sub esp, 0x38
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x44]
push ebx
xor ebx, ebx
mov dword [esp + 0x1c], ecx
push ebp
mov ebp, dword [ecx + 8]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x44], ebx
cmp dword [eax], ebx
jle 0x4db8df
push esi
add eax, 8
push edi
mov dword [esp + 0x18], eax
lea edi, [ebx + 1]
nop
lea ecx, [esp + 0x14]
mov dword [esp + 0x50], 0
push ecx
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], 0
push ecx
lea ecx, [esp + 0x58]
mov dword [esp + 0x1c], 0
push ecx
push dword [eax]
lea eax, [esp + 0x38]
push eax
call fcn.004cf440
mov ecx, dword [ebp]
add esp, 0x14
mov dword [esp + 0x1c], eax
cmp byte [ecx + 0x57], 0
jne 0x4db64a
movzx ecx, word [ebp + 0x92]
lea ecx, [ebx + ecx*2]
lea edx, [ecx + ecx*4]
mov ecx, dword [ebp + 0x74]
lea esi, [ecx + edx*8]
mov ecx, dword [esp + 0x50]
test ecx, ecx
jne 0x4db564
mov edx, 0x9000
test word [esi + 0x10], dx
je 0x4db55b
push esi
call fcn.00547450
add esp, 4
jmp 0x4db64a
mov word [esi + 0x10], di
jmp 0x4db64f
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4db570
mov edx, dword [eax + 0x78]
jmp 0x4db575
mov edx, 0x3b9aca00
mov edi, ecx
lea ecx, [edi + 1]
nop word [eax + eax]
mov al, byte [edi]
inc edi
test al, al
jne 0x4db580
sub edi, ecx
mov eax, edx
xor ecx, ecx
cdq
cmp ecx, edx
jl 0x4db5e2
jg 0x4db598
cmp edi, eax
jbe 0x4db5e2
mov edx, 0x9000
test word [esi + 0x10], dx
je 0x4db5b8
push esi
call fcn.00547450
add esp, 4
mov edi, 1
mov edx, 0x9000
jmp 0x4db5c1
mov edi, 1
mov word [esi + 0x10], di
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4db64f
mov eax, dword [eax + 0x10c]
test eax, eax
je 0x4db64f
inc dword [eax + 0x24]
mov dword [eax + 0xc], 0x12
jmp 0x4db64f
mov ebx, edi
add ebx, 1
adc ecx, ecx
jne 0x4db5f7
cmp ebx, 0x20
ja 0x4db5f7
mov eax, 0x20
jmp 0x4db5f9
mov eax, ebx
cmp dword [esi + 0x18], eax
jge 0x4db610
push 0
push eax
push esi
call fcn.00536210
add esp, 0xc
test eax, eax
jne 0x4db641
jmp 0x4db61b
mov eax, dword [esi + 0x20]
and word [esi + 0x10], 0x2d
mov dword [esi + 8], eax
push ebx
push dword [esp + 0x54]
push dword [esi + 8]
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov byte [esi + 0x12], 1
and edi, 0x7fffffff
mov eax, 0x202
mov dword [esi + 0xc], edi
mov word [esi + 0x10], ax
mov ebx, dword [esp + 0x4c]
mov edi, 1
mov edx, 0x9000
mov eax, dword [ebp]
cmp byte [eax + 0x57], 0
jne 0x4db763
movzx eax, word [ebp + 0x92]
lea ecx, [ebx + eax*2]
add ecx, eax
mov eax, dword [ebp + 0x74]
lea ecx, [ecx + ecx*4]
lea esi, [eax + ecx*8]
mov ecx, dword [esp + 0x10]
test ecx, ecx
jne 0x4db696
test word [esi + 0x10], dx
je 0x4db68d
push esi
call fcn.00547450
add esp, 4
jmp 0x4db763
mov word [esi + 0x10], di
jmp 0x4db763
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4db6a2
mov edx, dword [eax + 0x78]
jmp 0x4db6a7
mov edx, 0x3b9aca00
mov edi, ecx
lea ecx, [edi + 1]
nop dword [eax]
mov al, byte [edi]
inc edi
test al, al
jne 0x4db6b0
sub edi, ecx
mov eax, edx
xor ecx, ecx
cdq
cmp ecx, edx
jl 0x4db704
jg 0x4db6c8
cmp edi, eax
jbe 0x4db704
mov edi, 0x9000
test word [esi + 0x10], di
je 0x4db6de
push esi
call fcn.00547450
add esp, 4
jmp 0x4db6e7
mov eax, 1
mov word [esi + 0x10], ax
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4db768
mov eax, dword [eax + 0x10c]
test eax, eax
je 0x4db768
inc dword [eax + 0x24]
mov dword [eax + 0xc], 0x12
jmp 0x4db768
mov ebx, edi
add ebx, 1
adc ecx, ecx
jne 0x4db719
cmp ebx, 0x20
ja 0x4db719
mov eax, 0x20
jmp 0x4db71b
mov eax, ebx
cmp dword [esi + 0x18], eax
jge 0x4db732
push 0
push eax
push esi
call fcn.00536210
add esp, 0xc
test eax, eax
jne 0x4db763
jmp 0x4db73d
mov eax, dword [esi + 0x20]
and word [esi + 0x10], 0x2d
mov dword [esi + 8], eax
push ebx
push dword [esp + 0x14]
push dword [esi + 8]
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov byte [esi + 0x12], 1
and edi, 0x7fffffff
mov eax, 0x202
mov dword [esi + 0xc], edi
mov word [esi + 0x10], ax
mov edi, 0x9000
mov eax, dword [ebp]
mov ebx, dword [esp + 0x4c]
cmp byte [eax + 0x57], 0
jne 0x4db88c
movzx eax, word [ebp + 0x92]
lea eax, [ebx + eax*4]
lea ecx, [eax + eax*4]
mov eax, dword [ebp + 0x74]
lea esi, [eax + ecx*8]
mov ecx, dword [esp + 0x14]
test ecx, ecx
jne 0x4db7b6
test word [esi + 0x10], di
je 0x4db7a8
push esi
call fcn.00547450
add esp, 4
jmp 0x4db88c
mov edi, 1
mov word [esi + 0x10], di
jmp 0x4db891
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4db7c2
mov edx, dword [eax + 0x78]
jmp 0x4db7c7
mov edx, 0x3b9aca00
mov edi, ecx
lea ecx, [edi + 1]
nop dword [eax]
mov al, byte [edi]
inc edi
test al, al
jne 0x4db7d0
sub edi, ecx
mov eax, edx
xor ecx, ecx
cdq
cmp ecx, edx
jl 0x4db829
jg 0x4db7e8
cmp edi, eax
jbe 0x4db829
mov ecx, 0x9000
test word [esi + 0x10], cx
je 0x4db803
push esi
call fcn.00547450
add esp, 4
mov edi, 1
jmp 0x4db80c
mov edi, 1
mov word [esi + 0x10], di
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4db891
mov eax, dword [eax + 0x10c]
test eax, eax
je 0x4db891
inc dword [eax + 0x24]
mov dword [eax + 0xc], 0x12
jmp 0x4db891
mov ebx, edi
add ebx, 1
adc ecx, ecx
jne 0x4db83e
cmp ebx, 0x20
ja 0x4db83e
mov eax, 0x20
jmp 0x4db840
mov eax, ebx
cmp dword [esi + 0x18], eax
jge 0x4db857
push 0
push eax
push esi
call fcn.00536210
add esp, 0xc
test eax, eax
jne 0x4db888
jmp 0x4db862
mov eax, dword [esi + 0x20]
and word [esi + 0x10], 0x2d
mov dword [esi + 8], eax
push ebx
push dword [esp + 0x18]
push dword [esi + 8]
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov byte [esi + 0x12], 1
and edi, 0x7fffffff
mov eax, 0x202
mov dword [esi + 0xc], edi
mov word [esi + 0x10], ax
mov ebx, dword [esp + 0x4c]
mov edi, 1
mov eax, dword [ebp]
cmp byte [eax + 0x57], 0
jne 0x4db8c1
movzx eax, word [ebp + 0x92]
add eax, ebx
push 0xffffffffffffffff
push 1
push 0xffffffffffffffff
lea ecx, [eax + eax*4]
mov eax, dword [ebp + 0x74]
push 0xffffffffffffffff
push dword [esp + 0x2c]
lea eax, [eax + ecx*8]
push eax
call fcn.00536730
add esp, 0x18
mov ecx, dword [esp + 0x54]
inc ebx
mov eax, dword [esp + 0x18]
add eax, 0x14
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x18], eax
cmp ebx, dword [ecx]
jl 0x4db4e0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret