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

Disassembly:
sub esp, 0x64
push ebx
push ebp
push esi
push edi
mov edi, ecx
push 0
push 1
lea ecx, [esp + 0x38]
mov dword [esp + 0x78], edi
call fcn.00510240
mov esi, dword [esp + 0x78]
test esi, esi
je 0x4dd8ac
cmp byte [esi], 0
je 0x4dd8ac
mov dword [esp + 0x10], 0x6d00d4
mov eax, 0x6d00d4
mov ecx, 1
lock xadd dword [eax], ecx
mov edi, dword [esp + 0x7c]
lea esp, [esp]
mov al, byte [esi]
xor ebp, ebp
test al, al
je 0x4dd165
cmp al, 0x25
je 0x4dd165
mov al, byte [esi + ebp + 1]
inc ebp
test al, al
jne 0x4dd158
mov ecx, dword [0x6d78f4]
test ecx, ecx
je 0x4dd1a1
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
push 0
push ebp
push esi
lea eax, [esp + 0x40]
push eax
call edx
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x14]
call fcn.004d9490
mov ecx, dword [esp + 0x34]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x4dd1d3
mov eax, dword [esp + 0x34]
push eax
jmp 0x4dd1cb
push ebp
push esi
call fcn.004d8480
add esp, 8
lea ecx, [esp + 0x3c]
mov ebx, eax
push ecx
lea ecx, [esp + 0x14]
mov dword [esp + 0x40], ebx
call fcn.004d9490
mov edx, ebx
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x4dd1d3
push ebx
call fcn.004de870
add esp, 4
add esi, ebp
cmp byte [esi], 0
je 0x4dd861
mov al, byte [esi + 1]
mov ebp, esi
inc esi
test al, al
je 0x4dd819
cmp al, 0x25
jne 0x4dd20a
push ecx
mov eax, esp
mov ecx, 0x25
mov word [eax], cx
lea ecx, [esp + 0x14]
call fcn.004d95d0
inc esi
jmp 0x4dd150
xor ecx, ecx
mov dword [esp + 0x14], ecx
movsx eax, byte [esi]
add eax, 0xffffffe0
cmp eax, 0x10
ja case.0x4dd222.33
movzx edx, byte [eax + 0x4dd920]
jmp dword [edx*4 + 0x4dd904]
or ecx, 1
inc esi
jmp 0x4dd210
or ecx, 2
inc esi
jmp 0x4dd210
or ecx, 4
inc esi
jmp 0x4dd210
or ecx, 8
inc esi
jmp 0x4dd210
or ecx, 0x10
inc esi
jmp 0x4dd210
or ecx, 0x20
inc esi
jmp 0x4dd210
mov al, byte [esi]
mov dword [esp + 0x14], ecx
test al, al
je 0x4dd82f
mov cl, al
or ebx, 0xffffffff
sub cl, 0x30
mov dword [esp + 0x1c], ebx
cmp cl, 9
ja 0x4dd2fe
mov dword [esp + 0x20], 0x6d00d4
mov edx, 0x6d00d4
mov eax, 1
lock xadd dword [edx], eax
mov al, byte [esi]
test al, al
je 0x4dd2b4
mov cl, al
sub cl, 0x30
cmp cl, 9
ja 0x4dd2b4
push ecx
movzx dx, al
mov ecx, esp
mov word [ecx], dx
lea ecx, [esp + 0x24]
mov byte [esp + 0x7c], al
inc esi
call fcn.004d95d0
mov al, byte [esi]
test al, al
jne 0x4dd28c
push 0xa
push 0
lea ecx, [esp + 0x28]
call fcn.004d8590
cmp edx, ebx
jl 0x4dd2db
jg 0x4dd2ce
cmp eax, 0x80000000
jb 0x4dd2db
test edx, edx
jl 0x4dd2e1
jg 0x4dd2db
cmp eax, 0x7fffffff
jbe 0x4dd2e1
xor eax, eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x20]
lock xadd dword [eax], ebx
jne 0x4dd314
mov ecx, dword [esp + 0x20]
push ecx
call fcn.004de870
add esp, 4
jmp 0x4dd314
cmp al, 0x2a
jne 0x4dd314
mov eax, dword [edi]
add edi, 4
mov dword [esp + 0x1c], eax
test eax, eax
jge 0x4dd313
mov dword [esp + 0x1c], ebx
inc esi
mov al, byte [esi]
test al, al
je 0x4dd839
or ebx, 0xffffffff
mov dword [esp + 0x28], ebx
cmp al, 0x2e
jne 0x4dd3e0
mov al, byte [esi + 1]
inc esi
mov dl, al
sub dl, 0x30
cmp dl, 9
ja 0x4dd3c7
mov dword [esp + 0x38], 0x6d00d4
mov eax, 0x6d00d4
mov ecx, 1
lock xadd dword [eax], ecx
mov al, byte [esi]
test al, al
je 0x4dd388
jmp 0x4dd360
mov dl, al
sub dl, 0x30
cmp dl, 9
ja 0x4dd388
mov byte [esp + 0x7c], al
push ecx
movzx ax, al
mov ecx, esp
mov word [ecx], ax
lea ecx, [esp + 0x3c]
inc esi
call fcn.004d95d0
mov al, byte [esi]
test al, al
jne 0x4dd360
push 0xa
push 0
lea ecx, [esp + 0x40]
call fcn.004d8590
cmp edx, 0xffffffff
jl 0x4dd3b0
jg 0x4dd3a3
cmp eax, 0x80000000
jb 0x4dd3b0
test edx, edx
jl 0x4dd3b6
jg 0x4dd3b0
cmp eax, 0x7fffffff
jbe 0x4dd3b6
xor eax, eax
mov dword [esp + 0x2c], eax
mov ebx, eax
lea ecx, [esp + 0x38]
mov dword [esp + 0x28], ebx
call fcn.00401110
jmp 0x4dd3e0
cmp al, 0x2a
jne 0x4dd3e0
mov ebx, dword [edi]
add edi, 4
mov dword [esp + 0x28], ebx
test ebx, ebx
jge 0x4dd3df
or ebx, 0xffffffff
mov dword [esp + 0x28], ebx
inc esi
mov cl, byte [esi]
test cl, cl
je 0x4dd844
movsx ecx, cl
add ecx, 0xffffffb4
xor eax, eax
cmp ecx, 0x2e
ja case.0x4dd3fe.77
movzx ecx, byte [ecx + 0x4dd950]
jmp dword [ecx*4 + 0x4dd934]
inc esi
cmp byte [esi], 0x68
jne 0x4dd412
mov eax, 1
jmp 0x4dd447
mov eax, 2
jmp case.0x4dd3fe.77
inc esi
cmp byte [esi], 0x6c
jne 0x4dd426
mov eax, 4
jmp 0x4dd447
mov eax, 3
jmp case.0x4dd3fe.77
mov eax, 5
jmp 0x4dd447
mov eax, 6
jmp 0x4dd447
mov eax, 7
jmp 0x4dd447
mov eax, 8
inc esi
cmp byte [esi], 0
je 0x4dd84f
mov dword [esp + 0x18], 0x6d00d4
mov edx, 0x6d00d4
mov ecx, 1
lock xadd dword [edx], ecx
mov dl, byte [esi]
movsx ecx, dl
add ecx, 0xffffffbf
cmp ecx, 0x37
ja case.0x4dd47f.66
movzx ecx, byte [ecx + 0x4dd9a0]
jmp dword [ecx*4 + 0x4dd980]
cmp eax, 8
ja case.0x4dd48b.5
jmp dword [eax*4 + 0x4dd9d8]
mov eax, dword [edi]
add edi, 4
cdq
jmp 0x4dd4af
mov eax, dword [edi]
mov edx, dword [edi + 4]
add edi, 8
jmp 0x4dd4af
mov eax, dword [edi]
add edi, 4
jmp 0x4dd4ad
xor eax, eax
xor edx, edx
mov ecx, dword [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x20]
push ecx
push 0xa
push ebx
push edx
push eax
lea edx, [esp + 0x58]
push edx
lea ecx, [esp + 0x4c]
call fcn.0050de10
mov ecx, eax
call fcn.0050f660
push eax
lea ecx, [esp + 0x1c]
call fcn.004d5a10
lea ecx, [esp + 0x40]
call fcn.00401110
jmp 0x4dd765
cmp eax, 7
ja case.0x4dd4f0.5
jmp dword [eax*4 + 0x4dd9fc]
mov ebp, dword [edi]
add edi, 4
jmp 0x4dd50a
mov ebp, dword [edi]
mov ebx, dword [edi + 4]
add edi, 8
jmp 0x4dd50c
xor ebp, ebp
xor ebx, ebx
mov al, dl
sub al, 0x41
cmp al, 0x19
ja 0x4dd519
or dword [esp + 0x14], 0x40
push edx
mov dword [esp + 0x28], 0xa
call fcn.004d7f30
add esp, 4
cmp al, 0x6f
je 0x4dd54a
cmp al, 0x75
je 0x4dd540
cmp al, 0x78
jne 0x4dd552
mov dword [esp + 0x24], 0x10
jmp 0x4dd552
mov dword [esp + 0x24], 0xa
jmp 0x4dd552
mov dword [esp + 0x24], 8
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x2c]
push edx
push eax
push ecx
push ebx
push ebp
lea edx, [esp + 0x5c]
push edx
lea ecx, [esp + 0x4c]
call fcn.0050de10
mov ecx, eax
call fcn.0050f6d0
push eax
lea ecx, [esp + 0x1c]
call fcn.004d5a10
lea ecx, [esp + 0x44]
call fcn.00401110
jmp 0x4dd765
fld qword [edi]
add edi, 8
mov al, dl
fstp qword [esp + 0x28]
sub al, 0x41
cmp al, 0x19
ja 0x4dd5ab
or dword [esp + 0x14], 0x40
push edx
mov ebp, 1
call fcn.004d7f30
movsx eax, al
add eax, 0xffffff9f
add esp, 4
cmp eax, 6
ja case.0x4dd5c4.97
jmp dword [eax*4 + 0x4dda1c]
xor ebp, ebp
jmp case.0x4dd5c4.97
mov ebp, 2
mov ecx, dword [esp + 0x14]
fld qword [esp + 0x28]
mov edx, dword [esp + 0x1c]
push ecx
push edx
push ebp
push ebx
sub esp, 8
lea eax, [esp + 0x60]
fstp qword [esp]
push eax
lea ecx, [esp + 0x4c]
call fcn.0050de10
mov ecx, eax
call fcn.0050f5d0
push eax
lea ecx, [esp + 0x1c]
call fcn.004d5a10
lea ecx, [esp + 0x48]
call fcn.00401110
jmp 0x4dd765
add edi, 4
cmp eax, 3
jne 0x4dd63b
mov cx, word [edi - 4]
mov word [esp + 0x4c], cx
mov edx, dword [esp + 0x4c]
push edx
lea ecx, [esp + 0x1c]
call fcn.004d9430
jmp 0x4dd765
mov al, byte [edi - 4]
push ecx
movzx ax, al
mov ecx, esp
mov word [ecx], ax
lea ecx, [esp + 0x1c]
call fcn.004d9430
jmp 0x4dd765
mov ecx, dword [edi]
add edi, 4
cmp eax, 3
jne 0x4dd68a
cmp word [ecx], 0
mov eax, ecx
je 0x4dd679
jmp 0x4dd670
add eax, 2
cmp word [eax], 0
jne 0x4dd670
sub eax, ecx
sar eax, 1
push eax
push ecx
lea ecx, [esp + 0x20]
call fcn.004dcd00
jmp 0x4dd6ad
push 0xffffffffffffffff
push ecx
lea edx, [esp + 0x58]
push edx
call fcn.004d9c80
add esp, 0xc
push eax
lea ecx, [esp + 0x1c]
call fcn.004d5a10
lea ecx, [esp + 0x50]
call fcn.00401110
cmp ebx, 0xffffffff
je 0x4dd765
push ebx
lea ecx, [esp + 0x1c]
call fcn.004dbfc0
jmp 0x4dd765
mov ebp, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
mov eax, dword [edi]
or ebp, 1
push ebp
push edx
push 0x10
push ebx
xor ecx, ecx
push ecx
add edi, 4
push eax
lea eax, [esp + 0x6c]
push eax
lea ecx, [esp + 0x4c]
mov dword [esp + 0x30], ebp
call fcn.0050de10
mov ecx, eax
call fcn.0050f6d0
push eax
lea ecx, [esp + 0x1c]
call fcn.004d5a10
lea ecx, [esp + 0x54]
call fcn.00401110
jmp 0x4dd765
dec eax
cmp eax, 3
ja case.0x4dd712.3
jmp dword [eax*4 + 0x4dda38]
mov ecx, dword [esp + 0x10]
mov eax, dword [edi]
mov ecx, dword [ecx + 8]
add edi, 4
mov byte [eax], cl
jmp 0x4dd765
mov edx, dword [esp + 0x10]
mov eax, dword [edi]
mov ecx, dword [edx + 8]
add edi, 4
mov word [eax], cx
jmp 0x4dd765
mov ecx, dword [esp + 0x10]
mov ecx, dword [ecx + 8]
mov eax, dword [edi]
add edi, 4
mov dword [esp + 0x28], ecx
mov edx, dword [esp + 0x28]
mov dword [eax + 4], 0
jmp 0x4dd763
mov ecx, dword [esp + 0x10]
mov eax, dword [edi]
mov edx, dword [ecx + 8]
add edi, 4
mov dword [eax], edx
mov edx, dword [esp + 0x1c]
push 0
push ecx
mov eax, esp
mov ecx, 0x20
inc esi
test byte [esp + 0x1c], 4
mov word [eax], cx
push edx
lea ecx, [esp + 0x24]
je 0x4dd7ae
lea eax, [esp + 0x64]
push eax
call fcn.004dc050
push eax
lea ecx, [esp + 0x14]
call fcn.004d9490
lea ecx, [esp + 0x58]
call fcn.00401110
lea ecx, [esp + 0x18]
call fcn.00401110
jmp 0x4dd150
lea eax, [esp + 0x68]
push eax
call fcn.004dc170
push eax
lea ecx, [esp + 0x14]
call fcn.004d9490
lea ecx, [esp + 0x5c]
call fcn.00401110
lea ecx, [esp + 0x18]
call fcn.00401110
jmp 0x4dd150
cmp ebp, esi
je 0x4dd7f9
lea ecx, [ecx]
push ecx
movzx cx, byte [ebp]
mov eax, esp
mov word [eax], cx
lea ecx, [esp + 0x14]
call fcn.004d95d0
inc ebp
cmp ebp, esi
jne 0x4dd7e0
mov edx, 0x6d00d4
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x4dd150
push edx
call fcn.004de870
add esp, 4
jmp 0x4dd150
push ecx
mov eax, esp
mov ecx, 0x25
mov word [eax], cx
lea ecx, [esp + 0x14]
call fcn.004d95d0
jmp 0x4dd861
mov dword [esp + 0x60], ebp
lea edx, [esp + 0x60]
jmp 0x4dd857
lea eax, [esp + 0x64]
mov dword [esp + 0x64], ebp
push eax
jmp 0x4dd858
lea ecx, [esp + 0x68]
mov dword [esp + 0x68], ebp
push ecx
jmp 0x4dd858
mov dword [esp + 0x6c], ebp
lea edx, [esp + 0x6c]
push edx
lea ecx, [esp + 0x14]
call fcn.004d9550
mov esi, dword [esp + 0x10]
mov eax, esi
mov ecx, 1
lock xadd dword [eax], ecx
mov edi, dword [esp + 0x70]
mov edx, dword [edi]
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x4dd88a
mov ecx, dword [edi]
push ecx
call fcn.004de870
add esp, 4
mov dword [edi], esi
mov edx, esi
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x4dd8f8
push esi
call fcn.004de870
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret 8
mov ecx, 0x6d00e8
mov edx, 1
lock xadd dword [ecx], edx
mov eax, ecx
mov ecx, 1
lock xadd dword [eax], ecx
mov edx, dword [edi]
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x4dd8db
mov ecx, dword [edi]
push ecx
call fcn.004de870
add esp, 4
mov dword [edi], 0x6d00e8
mov edx, 0x6d00e8
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x4dd8f8
push edx
call fcn.004de870
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret 8