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

Disassembly:
sub esp, 0x38
mov edx, dword [esp + 0x3c]
push ebx
push ebp
push esi
mov ebx, dword [edx + 0x14]
mov ebp, dword [ebx + 0xc]
lea ecx, [ebx + 0xc]
push edi
mov edi, dword [esp + 0x50]
mov eax, dword [ebx + 8]
sub eax, dword [ebx]
sub ebp, dword [ebx + 4]
mov dword [esp + 0x14], eax
mov eax, dword [edx + 8]
sub eax, dword [edx]
dec edi
mov dword [esp + 0x10], eax
mov edx, 1
mov dword [esp + 0x20], edi
mov esi, edi
je 0x4a235d
jmp 0x4a2340
mov eax, dword [ecx + 0x78]
lea ecx, [ecx + 0x7c]
sub eax, dword [ecx - 0xc]
cmp edx, eax
jge 0x4a234f
mov edx, eax
mov eax, dword [ecx]
sub eax, dword [ecx - 8]
cmp edx, eax
jge 0x4a235a
mov edx, eax
dec esi
jne 0x4a2340
lea eax, [edx*4]
push 0x10
push eax
call fcn.004176d3
add esp, 8
mov dword [esp + 0x38], eax
mov dword [esp + 0x28], eax
test edi, edi
je 0x4a2580
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x4c]
add ebx, 0x7c
mov ecx, esi
mov dword [esp + 0x24], ebx
mov dword [esp + 0x40], ecx
mov edi, dword [eax + 0x18]
mov eax, ebp
mov dword [esp + 0x30], eax
mov esi, dword [ebx + 8]
sub esi, dword [ebx]
mov ebp, dword [ebx + 0xc]
mov edx, esi
sub ebp, dword [ebx + 4]
sub edx, ecx
mov dword [esp + 0x3c], edx
mov ebx, dword [ebx]
mov dword [esp + 0x50], edi
mov dword [esp + 0x14], esi
mov dword [esp + 0x1c], ebp
and ebx, 0x80000001
jns 0x4a23cb
dec ebx
or ebx, 0xfffffffe
inc ebx
mov dword [esp + 0x44], ebx
test ebp, ebp
jle 0x4a2485
mov eax, dword [esp + 0x1c]
mov ebp, edi
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x38]
mov esi, ebp
lea edi, [eax + ebx*4]
test ecx, ecx
je 0x4a2409
mov edi, edi
mov eax, dword [esi]
lea esi, [esi + 4]
mov dword [edi], eax
lea edi, [edi + 8]
dec ecx
jne 0x4a23f0
mov ebx, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
lea esi, [ecx*4]
mov ecx, dword [esp + 0x38]
lea eax, [ebx*4]
add esi, ebp
sub ecx, eax
add ecx, 4
test edx, edx
je 0x4a2433
mov eax, dword [esi]
lea esi, [esi + 4]
mov dword [ecx], eax
lea ecx, [ecx + 8]
dec edx
jne 0x4a2426
lea eax, [esp + 0x38]
push eax
call dword [esp + 0x58]
mov esi, dword [esp + 0x18]
lea eax, [esi*4]
push eax
push dword [esp + 0x40]
push ebp
call sub.MSVCRT.dll_memcpy
mov ecx, dword [esp + 0x20]
add esp, 0x10
lea eax, [ecx*4]
add ebp, eax
dec dword [esp + 0x18]
je 0x4a2479
mov ebx, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
jmp 0x4a23e1
mov eax, dword [esp + 0x30]
mov ebp, dword [esp + 0x1c]
mov edi, dword [esp + 0x50]
mov ebx, dword [esp + 0x24]
mov edx, ebp
sub edx, eax
mov dword [esp + 0x2c], edx
mov ebx, dword [ebx + 4]
and ebx, 0x80000001
jns 0x4a24a1
dec ebx
or ebx, 0xfffffffe
inc ebx
mov dword [esp + 0x34], ebx
test esi, esi
jle 0x4a2572
mov dword [esp + 0x1c], esi
mov ecx, dword [esp + 0x28]
mov esi, edi
lea edi, [ecx + ebx*4]
test eax, eax
je 0x4a24e9
mov ecx, dword [esp + 0x10]
lea edx, [ecx*4]
lea esp, [esp]
mov ecx, dword [esi]
lea edi, [edi + 8]
add esi, edx
mov dword [edi - 8], ecx
dec eax
jne 0x4a24d0
mov ebx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
imul eax, dword [esp + 0x10]
mov edi, dword [esp + 0x50]
mov ecx, dword [esp + 0x28]
lea esi, [edi + eax*4]
lea eax, [ebx*4]
mov ebx, dword [esp + 0x10]
sub ecx, eax
add ecx, 4
test edx, edx
je 0x4a2525
lea edi, [ebx*4]
mov eax, dword [esi]
lea ecx, [ecx + 8]
add esi, edi
mov dword [ecx - 8], eax
dec edx
jne 0x4a2514
mov edi, dword [esp + 0x50]
lea eax, [esp + 0x28]
push eax
call dword [esp + 0x58]
add esp, 4
xor ecx, ecx
test ebp, ebp
jle 0x4a2550
lea esi, [ebx*4]
mov edx, edi
mov eax, dword [esp + 0x28]
mov eax, dword [eax + ecx*4]
inc ecx
mov dword [edx], eax
add edx, esi
cmp ecx, ebp
jl 0x4a2540
add edi, 4
dec dword [esp + 0x1c]
mov dword [esp + 0x50], edi
je 0x4a256e
mov ebx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
jmp 0x4a24b1
mov esi, dword [esp + 0x14]
dec dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
jne 0x4a2383
push dword [esp + 0x38]
call fcn.0041771d
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret