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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x78
mov eax, dword [0x70a034]
xor eax, esp
mov dword [esp + 0x74], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0xc]
push esi
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0x14]
push edi
mov edi, ecx
mov dword [esp + 0x30], eax
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x10]
mov dword [esp + 0x3c], eax
xor eax, eax
mov esi, dword [edi + 8]
mov dword [esp + 0x4c], edx
mov edx, dword [edi]
mov dword [esp + 0x40], edi
mov dword [esp + 0x18], ecx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x1c], 0
mov dword [esp + 0x44], eax
mov dword [esp + 0x28], esi
test esi, esi
jne 0x4d2c52
cmp dword [edi + 0x74], eax
jne 0x4d2c41
test byte [edx + 0x4c], 8
jne 0x4d2c41
mov byte [edi + 0x17], 1
mov ecx, edi
call fcn.004a1b00
mov ecx, dword [esp + 0x18]
mov esi, eax
mov dword [esp + 0x28], esi
cmp dword [ebp + 0x1c], 0
jge 0x4d2cb1
movzx edx, byte [ecx + 0x18]
mov ecx, dword [esi + 0x6c]
mov dword [esp + 0x44], ecx
cmp dword [esi + 0x70], ecx
jg 0x4d2c82
push 0
push 0
push edx
mov edx, 0x2e
mov ecx, esi
call fcn.004a1e00
add esp, 0xc
mov dword [esp + 0x44], eax
jmp 0x4d2cb1
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x2e
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x18]
xor esi, esi
mov dword [esp + 0x14], esi
cmp dword [eax + 0x14], esi
jle 0x4d2de0
mov eax, dword [esp + 0x24]
test eax, eax
je 0x4d2cd5
mov eax, dword [eax + 4]
movzx eax, word [eax + esi*2]
jmp 0x4d2cd8
or eax, 0xffffffff
mov edx, dword [esp + 0x20]
mov ecx, edi
push eax
push dword [esp + 0x40]
call fcn.004d2b30
mov dword [esp + 0x3c], eax
add esp, 8
mov eax, dword [esp + 0x30]
test eax, eax
je 0x4d2d01
movzx ecx, word [eax + esi*4]
mov eax, dword [esp + 0x18]
jmp 0x4d2d09
mov eax, dword [esp + 0x18]
movzx ecx, word [eax + 0x24]
mov eax, dword [eax]
movsx ecx, cx
add ecx, ecx
mov eax, dword [eax + 4]
mov eax, dword [eax + ecx*8]
mov dword [esp + 0x48], eax
test eax, eax
jne 0x4d2d22
xor esi, esi
jmp 0x4d2d36
mov esi, eax
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x4d2d27
sub esi, ecx
and esi, 0x3fffffff
mov ecx, dword [esp + 0x2c]
lea eax, [esi + 0x35]
push 0
push eax
call fcn.00480700
mov edi, eax
add esp, 8
test edi, edi
je 0x4d2d9e
push 0x34
push 0
push edi
call fcn.0063e100
or eax, 0xffffffff
mov byte [edi], 0x3b
mov word [edi + 0x22], ax
add esp, 0xc
lea eax, [esi + 1]
test eax, eax
jne 0x4d2d78
or dword [edi + 4], 0x20800400
mov dword [edi + 8], eax
jmp 0x4d2d97
lea eax, [edi + 0x34]
mov dword [edi + 8], eax
test esi, esi
je 0x4d2d90
push esi
push dword [esp + 0x4c]
push eax
call fcn.0063d600
add esp, 0xc
mov eax, dword [edi + 8]
mov byte [esi + eax], 0
mov dword [edi + 0x18], 1
push edi
push dword [esp + 0x38]
mov edi, dword [esp + 0x48]
mov edx, 0x35
mov ecx, edi
call fcn.004b8670
mov edx, dword [esp + 0x24]
mov ecx, edi
push eax
call fcn.004b8780
mov esi, dword [esp + 0x20]
mov ecx, eax
mov eax, dword [esp + 0x24]
inc esi
add esp, 0xc
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x14], esi
cmp esi, dword [eax + 0x14]
jl 0x4d2cc4
jmp 0x4d2de2
xor ecx, ecx
mov edx, dword [esp + 0x20]
cmp edx, dword [eax]
jne 0x4d303a
cmp dword [ebp + 0x1c], 0
jle 0x4d303a
test byte [edx + 0x24], 0x20
jne 0x4d2e99
mov ecx, dword [edi]
lea eax, [esp + 0x34]
push 0
push eax
mov edx, 0xab
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
call fcn.004b84b0
mov esi, eax
add esp, 8
test esi, esi
je 0x4d2e39
mov eax, dword [esp + 0x3c]
mov dword [esi + 0x1c], eax
mov byte [esi + 1], 0x44
mov edi, dword [esp + 0x4c]
lea eax, [esp + 0x34]
mov ecx, dword [esp + 0x2c]
mov edx, 0xa2
push 0
push eax
mov edi, dword [edi + 0x34]
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
call fcn.004b84b0
add esp, 8
test eax, eax
je 0x4d2e7d
mov ecx, dword [esp + 0x20]
mov dword [eax + 0x2c], ecx
or ecx, 0xffffffff
mov dword [eax + 0x1c], edi
mov word [eax + 0x20], cx
mov edi, dword [esp + 0x40]
mov edx, 0x34
push eax
push esi
mov ecx, edi
call fcn.004b8670
add esp, 8
mov esi, eax
jmp 0x4d3025
mov eax, dword [esp + 0x24]
xor ecx, ecx
xor esi, esi
mov dword [esp + 0x14], 0
mov dword [esp + 0x30], ecx
cmp si, word [eax + 0x32]
jae 0x4d2fb1
mov eax, dword [eax + 4]
movzx esi, word [eax + ecx*2]
mov ecx, edi
push esi
push dword [esp + 0x40]
call fcn.004d2b30
mov dword [esp + 0x50], eax
add esp, 8
mov eax, dword [esp + 0x20]
movsx edx, si
add edx, edx
mov ecx, dword [eax + 4]
mov eax, dword [ecx + edx*8]
mov dword [esp + 0x34], eax
test eax, eax
jne 0x4d2eec
xor esi, esi
jmp 0x4d2f00
mov esi, eax
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x4d2ef1
sub esi, ecx
and esi, 0x3fffffff
mov ecx, dword [esp + 0x2c]
lea eax, [esi + 0x35]
push 0
push eax
call fcn.00480700
mov edi, eax
add esp, 8
test edi, edi
je 0x4d2f68
push 0x34
push 0
push edi
call fcn.0063e100
or eax, 0xffffffff
mov byte [edi], 0x3b
mov word [edi + 0x22], ax
add esp, 0xc
lea eax, [esi + 1]
test eax, eax
jne 0x4d2f42
or dword [edi + 4], 0x20800400
mov dword [edi + 8], eax
jmp 0x4d2f61
lea eax, [edi + 0x34]
mov dword [edi + 8], eax
test esi, esi
je 0x4d2f5a
push esi
push dword [esp + 0x38]
push eax
call fcn.0063d600
add esp, 0xc
mov eax, dword [edi + 8]
mov byte [esi + eax], 0
mov dword [edi + 0x18], 1
push edi
push dword [esp + 0x4c]
mov edi, dword [esp + 0x48]
mov edx, 0x2d
mov ecx, edi
call fcn.004b8670
mov edx, dword [esp + 0x1c]
mov ecx, edi
push eax
call fcn.004b8780
mov ecx, dword [esp + 0x3c]
add esp, 0xc
mov edx, dword [esp + 0x20]
inc ecx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x30], ecx
movzx eax, word [eax + 0x32]
cmp ecx, eax
mov eax, dword [esp + 0x24]
jl 0x4d2eb7
mov ecx, dword [edi]
push 0
push 0x34
call fcn.00480700
mov esi, eax
add esp, 8
test esi, esi
je 0x4d3014
push 0x34
push 0
push esi
call fcn.0063e100
or eax, 0xffffffff
mov byte [esi], 0x13
mov word [esi + 0x22], ax
add esp, 0xc
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4d2ff2
mov dword [esi + 0xc], eax
mov eax, dword [eax + 4]
and eax, 0x200104
or dword [esi + 4], eax
mov ecx, esi
call fcn.004b83a0
mov eax, dword [edi]
mov eax, dword [eax + 0x78]
cmp dword [esi + 0x18], eax
jle 0x4d3025
push eax
push 0x70e0bc
push edi
call fcn.00483850
add esp, 0xc
jmp 0x4d3025
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4d3025
mov ecx, dword [edi]
mov edx, eax
call fcn.004b8a40
mov edx, dword [esp + 0x1c]
mov ecx, edi
push esi
call fcn.004b8780
mov ecx, eax
add esp, 4
mov dword [esp + 0x1c], ecx
mov esi, dword [esp + 0x4c]
xorps xmm0, xmm0
movaps xmmword [esp + 0x50], xmm0
mov edx, ecx
lea ecx, [esp + 0x50]
movaps xmmword [esp + 0x60], xmm0
mov dword [esp + 0x54], esi
mov dword [esp + 0x50], edi
call fcn.004b7620
cmp dword [edi + 0x24], 0
jne 0x4d30ec
push 0
push 0
push 0
push 0
push dword [esp + 0x2c]
mov edx, esi
mov ecx, edi
call fcn.004fc3e0
mov edi, dword [esp + 0x3c]
mov esi, eax
mov eax, dword [esp + 0x2c]
add esp, 0x14
mov ecx, dword [edi + 0x6c]
movzx edx, byte [eax + 0x18]
cmp dword [edi + 0x70], ecx
jg 0x4d30ad
push 0
push dword [ebp + 0x1c]
mov ecx, edi
push edx
mov edx, 0x96
call fcn.004a1e00
add esp, 0xc
jmp 0x4d30df
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov edi, dword [esp + 0x28]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [ebp + 0x1c]
mov dword [eax + ecx*4], 0x96
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
test esi, esi
je 0x4d30f0
mov ecx, esi
call fcn.004fcf20
jmp 0x4d30f0
mov edi, dword [esp + 0x28]
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4d3103
mov ecx, dword [esp + 0x2c]
mov edx, eax
call fcn.004b8a40
mov ecx, dword [esp + 0x44]
test ecx, ecx
je 0x4d3141
mov edx, dword [edi + 0x6c]
jns 0x4d3113
lea ecx, [edx - 1]
mov eax, dword [edi]
cmp byte [eax + 0x51], 0
je 0x4d3134
mov eax, 0x71d19c
mov dword [eax + 8], edx
pop edi
pop esi
mov ecx, dword [esp + 0x74]
xor ecx, esp
call fcn.00625325
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 0x68]
lea ecx, [ecx + ecx*4]
mov dword [eax + ecx*4 + 8], edx
lea eax, [eax + ecx*4]
mov ecx, dword [esp + 0x7c]
pop edi
pop esi
xor ecx, esp
call fcn.00625325
mov esp, ebp
pop ebp
ret