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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x18]
cmp eax, dword [ecx + 8]
jbe 0x4ecccb
sub esp, 0x98
mov eax, dword [esp + 0xac]
cmp eax, 3
jge 0x4ecb2a
jge 0x4ec949
cmp eax, 2
jne 0x4ec93a
mov ecx, dword [esp + 0xa8]
movzx edx, word [ecx]
cmp dx, 0x7069
jne 0x4ec8c2
mov edx, dword [esp + 0xb4]
test edx, edx
je 0x4ec8b9
mov ebx, dword [esp + 0xb0]
xor ebp, ebp
mov dword [esp + 0x34], ebp
mov dword [esp + 0x54], ebx
mov dword [esp + 0x40], edx
lea eax, [0x5c0f00]
mov dword [esp], eax
call fcn.00409a20
mov eax, dword [esp + 4]
lea ecx, [0x4f69c0]
mov dword [eax], ecx
mov ecx, dword [esp + 0xac]
mov dword [eax + 8], ecx
mov edx, dword [0x784e70]
test edx, edx
jne 0x4ec89a
mov edx, dword [esp + 0xa8]
mov dword [eax + 4], edx
mov ebx, dword [esp + 0x34]
mov dword [eax + 0xc], ebx
mov ebp, dword [esp + 0x40]
test ebp, ebp
jne 0x4ec60b
lea edi, [esp + 0x70]
lea esi, [0x628270]
call fcn.0044bade
mov eax, dword [esp + 0xac]
cmp eax, 3
jge 0x4ec44e
jge 0x4ec336
cmp eax, 2
jne 0x4ec331
movzx ecx, word [edx]
cmp cx, 0x7069
jne 0x4ec308
lea eax, [0x5c2b00]
mov dword [esp], eax
call fcn.00409a20
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x70]
mov edi, dword [esp + 4]
mov dword [edi + 4], ecx
mov dword [edi + 8], eax
mov eax, dword [0x784e70]
test eax, eax
jne 0x4ec2fc
mov dword [edi], edx
mov ecx, dword [esp + 0x80]
mov eax, dword [esp + 0x7c]
mov dword [edi + 0x10], ecx
mov ecx, dword [0x784e70]
test ecx, ecx
jne 0x4ec2e9
mov dword [edi + 0xc], eax
lea eax, [0x628670]
mov dword [esp + 0x30], eax
mov dword [esp + 0x4c], edi
lea ecx, [0x5abe60]
mov dword [esp], ecx
call fcn.00409a20
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x30]
mov dword [eax], ecx
mov ecx, dword [0x784e70]
test ecx, ecx
jne 0x4ec2d7
mov ecx, dword [esp + 0x4c]
mov dword [eax + 4], ecx
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], 1
mov dword [esp + 0xc0], 1
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc8], 0
add esp, 0x98
ret
lea edi, [eax + 4]
mov ecx, eax
mov eax, dword [esp + 0x4c]
call fcn.0044b500
mov eax, ecx
jmp 0x4ec29d
lea ecx, [edi + 0xc]
mov edx, edi
mov edi, ecx
call fcn.0044b500
mov edi, edx
jmp 0x4ec266
mov eax, edx
call fcn.0044b500
jmp 0x4ec247
cmp eax, 3
jne 0x4ecc69
movzx ecx, word [edx]
cmp cx, 0x7069
jne 0x4ecc69
movzx ecx, byte [edx + 2]
cmp cl, 0x34
je 0x4ec213
jmp 0x4ecc69
cmp eax, 3
jmp 0x4ec30b
je 0x4ec3fb
jne 0x4ec35c
movzx ecx, word [edx]
cmp cx, 0x7069
jne 0x4ec3f3
movzx ecx, byte [edx + 2]
cmp cl, 0x36
je 0x4ec213
cmp eax, 3
jne 0x4ecc69
movzx ecx, word [edx]
cmp cx, 0x6374
jne 0x4ecc69
movzx ecx, byte [edx + 2]
cmp cl, 0x70
jne 0x4ecc69
lea eax, [0x5c9ee0]
mov dword [esp], eax
call fcn.00409a20
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x78]
mov edi, dword [esp + 4]
mov dword [edi + 4], eax
mov dword [edi + 8], edx
mov eax, dword [0x784e70]
test eax, eax
jne 0x4ec3ea
mov dword [edi], ecx
mov ecx, dword [esp + 0x34]
mov dword [edi + 0xc], ecx
mov ecx, dword [esp + 0x80]
mov eax, dword [esp + 0x7c]
mov dword [edi + 0x14], ecx
mov ecx, dword [0x784e70]
test ecx, ecx
jne 0x4ec3da
mov dword [edi + 0x10], eax
lea eax, [0x628690]
jmp 0x4ec26c
lea ecx, [edi + 0x10]
mov edx, edi
mov edi, ecx
call fcn.0044b500
mov edi, edx
jmp 0x4ec3cf
mov eax, ecx
call fcn.0044b500
jmp 0x4ec3ad
cmp eax, 3
jmp 0x4ec35c
mov dword [esp], edx
mov dword [esp + 4], eax
lea ecx, [0x5eb7f6]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 3
call fcn.00401ff0
mov eax, dword [esp + 0x10]
test eax, eax
jg 0x4ec434
mov eax, dword [esp + 0xac]
mov edx, dword [esp + 0xa8]
jmp 0x4ec1fc
mov eax, dword [esp + 0xac]
cmp eax, 3
mov edx, dword [esp + 0xa8]
mov ebx, dword [esp + 0x34]
jmp 0x4ec33c
je 0x4ec5b4
cmp eax, 4
jge 0x4ec519
cmp eax, 3
jne 0x4ec514
movzx ecx, word [edx]
cmp cx, 0x6475
jne 0x4ec50f
movzx ecx, byte [edx + 2]
cmp cl, 0x70
jne 0x4ec4f3
lea eax, [0x5c9f60]
mov dword [esp], eax
call fcn.00409a20
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x70]
mov edi, dword [esp + 4]
mov dword [edi + 4], ecx
mov dword [edi + 8], eax
mov eax, dword [0x784e70]
test eax, eax
jne 0x4ec4ea
mov dword [edi], edx
mov ecx, dword [esp + 0x34]
mov dword [edi + 0xc], ecx
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x80]
mov dword [edi + 0x14], ecx
mov ecx, dword [0x784e70]
test ecx, ecx
jne 0x4ec4da
mov dword [edi + 0x10], eax
lea eax, [0x6286b0]
jmp 0x4ec26c
lea ecx, [edi + 0x10]
mov edx, edi
mov edi, ecx
call fcn.0044b500
mov edi, edx
jmp 0x4ec4cf
mov eax, edx
call fcn.0044b500
jmp 0x4ec4ad
cmp eax, 4
jne 0x4ecc69
mov ecx, dword [edx]
cmp ecx, 0x34706374
je 0x4ec37d
jmp 0x4ecc69
cmp eax, 4
jmp 0x4ec4f6
cmp eax, 4
jmp 0x4ec4f6
je 0x4ec55a
jne 0x4ec52e
mov ecx, dword [edx]
cmp ecx, 0x36706374
je 0x4ec37d
cmp eax, 4
jne 0x4ec541
mov ecx, dword [edx]
cmp ecx, 0x34706475
je 0x4ec47d
cmp eax, 4
jne 0x4ecc69
mov ecx, dword [edx]
cmp ecx, 0x36706475
je 0x4ec47d
jmp 0x4ecc69
mov dword [esp], edx
mov dword [esp + 4], eax
lea ecx, [0x5eb9ee]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 4
call fcn.00401ff0
mov eax, dword [esp + 0x10]
test eax, eax
jg 0x4ec59a
mov eax, dword [esp + 0xac]
cmp eax, 3
mov edx, dword [esp + 0xa8]
mov ebx, dword [esp + 0x34]
jmp 0x4ec460
mov eax, dword [esp + 0xac]
cmp eax, 4
mov edx, dword [esp + 0xa8]
mov ebx, dword [esp + 0x34]
jmp 0x4ec51b
mov dword [esp], edx
mov dword [esp + 4], eax
lea ecx, [0x5eb814]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 3
call fcn.00401ff0
mov eax, dword [esp + 0x10]
test eax, eax
jg 0x4ec5f4
mov eax, dword [esp + 0xac]
cmp eax, 3
mov edx, dword [esp + 0xa8]
mov ebx, dword [esp + 0x34]
jmp 0x4ec1f6
mov eax, dword [esp + 0xac]
mov edx, dword [esp + 0xa8]
mov ebx, dword [esp + 0x34]
jmp 0x4ec454
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x9c]
mov dword [esp], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ebp
call fcn.004edcb0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x18]
test edx, edx
jne 0x4ec864
cmp ebp, 1
je 0x4ec728
mov ecx, dword [esp + 0xac]
test ecx, ecx
je 0x4ec71f
mov edx, dword [esp + 0xa8]
movzx esi, byte [edx + ecx - 1]
xchg esi, eax
cmp al, 0x34
xchg esi, eax
jne 0x4ec713
test ecx, ecx
lea esi, [0x5fe818]
je 0x4ec70f
movzx ecx, byte [edx + ecx - 1]
cmp cl, 0x36
jne 0x4ec70f
lea ecx, [0x5fe81c]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], ebp
mov dword [esp + 0xc], ebx
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x18], eax
call fcn.004eb570
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x1c]
mov dword [esp + 0xb8], ebp
mov dword [esp + 0xbc], edx
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], ebx
mov dword [esp + 0xc8], ecx
add esp, 0x98
ret
mov ecx, esi
jmp 0x4ec6a5
test ecx, ecx
mov esi, 0
jmp 0x4ec693
mov edx, dword [esp + 0xa8]
jmp 0x4ec715
mov dword [esp + 0x50], eax
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x38], ebp
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
mov ebx, dword [eax]
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov ecx, dword [0x76e8f4]
mov edx, dword [0x76e8f0]
mov ebx, dword [0x76e8f8]
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ebx
call fcn.004e9310
movzx eax, byte [esp + 0x18]
test al, al
je 0x4ec853
lea edi, [esp + 0x84]
xor eax, eax
call fcn.0044b5fb
mov ecx, dword [0x773618]
mov edx, dword [0x77361c]
mov ebx, dword [0x773620]
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], edx
mov dword [esp + 0x8c], ebx
mov ecx, dword [esp + 0x38]
lea edx, [ecx + 1]
mov ebx, dword [esp + 0x3c]
cmp edx, ebx
jg 0x4ec819
mov eax, dword [esp + 0x50]
lea ecx, [ecx + ecx*4]
mov ebp, dword [0x784e70]
lea edi, [eax + ecx*4]
test ebp, ebp
jne 0x4ec7e2
lea esi, [esp + 0x84]
call fcn.0044bade
mov ebp, edx
jmp 0x4ec665
mov dword [esp + 0x58], eax
mov dword [esp + 0x48], edx
mov dword [esp + 0x44], ebx
lea eax, [0x5c2b00]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0x84]
mov dword [esp + 8], eax
call fcn.0040ecc0
mov eax, dword [esp + 0x58]
mov edx, dword [esp + 0x48]
mov ebx, dword [esp + 0x44]
jmp 0x4ec7db
lea eax, [0x5c2b00]
mov dword [esp], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], edx
call fcn.00437cd0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
lea edx, [ecx + 1]
mov ecx, dword [esp + 0x38]
jmp 0x4ec7bf
mov eax, dword [esp + 0x50]
mov ebx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x38]
jmp 0x4ec665
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], edx
mov dword [esp + 0xc8], ecx
add esp, 0x98
ret
lea edi, [eax + 4]
mov edx, eax
mov eax, dword [esp + 0xa8]
call fcn.0044b500
mov eax, edx
mov edx, dword [esp + 0xa8]
jmp 0x4ec1c4
xor edx, edx
xor ebx, ebx
jmp 0x4ec17a
cmp eax, 3
jne 0x4ec8de
movzx edx, word [ecx]
cmp dx, 0x7069
jne 0x4ec8de
movzx edx, byte [ecx + 2]
cmp dl, 0x34
je 0x4ec164
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], eax
lea eax, [0x627db0]
mov dword [esp], eax
lea eax, [esp + 0x68]
mov dword [esp + 4], eax
call fcn.00407570
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], ecx
mov dword [esp + 0xc8], eax
add esp, 0x98
ret
cmp eax, 3
mov ecx, dword [esp + 0xa8]
jmp 0x4ec8c5
je 0x4ecae2
jne 0x4ecad6
mov ecx, dword [esp + 0xa8]
movzx edx, word [ecx]
cmp dx, 0x7069
jne 0x4ecace
movzx edx, byte [ecx + 2]
cmp dl, 0x36
je 0x4ec164
cmp eax, 3
jne 0x4ec8de
movzx edx, word [ecx]
cmp dx, 0x6374
jne 0x4ec8de
movzx edx, byte [ecx + 2]
cmp dl, 0x70
jne 0x4ec8de
mov edx, dword [esp + 0xb4]
test edx, edx
jne 0x4ec9b7
xor edx, edx
xor ebx, ebx
xor ebp, ebp
mov esi, ebp
mov ebp, edx
mov edx, esi
jmp 0x4ec17c
mov eax, dword [esp + 0xb0]
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.004eb8a0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 8]
mov ebp, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
test ebp, ebp
jne 0x4eca98
mov dword [esp + 0x40], edx
mov dword [esp + 0x54], ebx
mov edx, dword [esp + 0x9c]
mov dword [esp], edx
mov ebx, dword [esp + 0xa0]
mov dword [esp + 4], ebx
mov ebp, dword [esp + 0xa4]
mov dword [esp + 8], ebp
mov esi, dword [esp + 0xa8]
mov dword [esp + 0xc], esi
mov edi, dword [esp + 0xac]
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], eax
call fcn.004ee690
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
test ecx, ecx
jne 0x4eca62
mov ecx, dword [esp + 0xa8]
mov edx, eax
mov ebx, dword [esp + 0x54]
mov ebp, dword [esp + 0x40]
mov eax, dword [esp + 0xac]
jmp 0x4ec9ac
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], ecx
mov dword [esp + 0xc8], edx
add esp, 0x98
ret
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], ebp
mov dword [esp + 0xc8], esi
add esp, 0x98
ret
cmp eax, 3
jmp 0x4ec97a
mov ecx, dword [esp + 0xa8]
jmp 0x4ec97a
mov ecx, dword [esp + 0xa8]
mov dword [esp], ecx
mov dword [esp + 4], eax
lea edx, [0x5eb7f6]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 3
call fcn.00401ff0
mov eax, dword [esp + 0x10]
test eax, eax
jg 0x4ecb1b
mov eax, dword [esp + 0xac]
jmp 0x4ec146
mov eax, dword [esp + 0xac]
cmp eax, 3
jmp 0x4ec94f
je 0x4ecc21
cmp eax, 4
jge 0x4ecb85
cmp eax, 3
jne 0x4ecb79
mov ecx, dword [esp + 0xa8]
movzx edx, word [ecx]
cmp dx, 0x6475
jne 0x4ecb74
movzx edx, byte [ecx + 2]
cmp dl, 0x70
je 0x4ec99b
cmp eax, 4
jne 0x4ec8de
mov edx, dword [ecx]
cmp edx, 0x34706374
je 0x4ec99b
jmp 0x4ec8de
cmp eax, 4
jmp 0x4ecb5b
cmp eax, 4
mov ecx, dword [esp + 0xa8]
jmp 0x4ecb5b
je 0x4ecbd6
jne 0x4ecbcd
mov ecx, dword [esp + 0xa8]
mov edx, dword [ecx]
cmp edx, 0x36706374
je 0x4ec99b
cmp eax, 4
jne 0x4ecbb4
mov edx, dword [ecx]
cmp edx, 0x34706475
je 0x4ec99b
cmp eax, 4
jne 0x4ec8de
mov edx, dword [ecx]
cmp edx, 0x36706475
je 0x4ec99b
jmp 0x4ec8de
mov ecx, dword [esp + 0xa8]
jmp 0x4ecba1
mov ecx, dword [esp + 0xa8]
mov dword [esp], ecx
mov dword [esp + 4], eax
lea edx, [0x5eb9ee]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 4
call fcn.00401ff0
mov eax, dword [esp + 0x10]
test eax, eax
jg 0x4ecc12
mov eax, dword [esp + 0xac]
cmp eax, 3
jmp 0x4ecb38
mov eax, dword [esp + 0xac]
cmp eax, 4
jmp 0x4ecb87
mov ecx, dword [esp + 0xa8]
mov dword [esp], ecx
mov dword [esp + 4], eax
lea edx, [0x5eb814]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 3
call fcn.00401ff0
mov eax, dword [esp + 0x10]
test eax, eax
jg 0x4ecc5d
mov eax, dword [esp + 0xac]
cmp eax, 3
jmp 0x4ec140
mov eax, dword [esp + 0xac]
jmp 0x4ecb30
mov dword [esp], 0
lea ecx, [0x5efde9]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x14
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], eax
call fcn.0043ae70
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], ecx
lea eax, [0x5b36a0]
mov dword [esp], eax
lea eax, [esp + 0x60]
mov dword [esp + 4], eax
call fcn.00407290
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004267e0
ud2
call fcn.00449da0
jmp fcn.004ec110