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

Disassembly:
push ebp
push edi
xor eax, eax
push esi
push ebx
sub esp, 0x88
mov esi, dword [esp + 0xa4]
mov dword [esp + eax + 0x48], 0
add eax, 4
cmp eax, 0x20
jb 0xbcdd93
mov eax, dword [esp + 0xa0]
test esi, esi
lea ecx, [eax + esi*2]
je 0xbcddc1
movzx edx, word [eax]
add eax, 2
add word [esp + edx*2 + 0x48], 1
cmp ecx, eax
jne 0xbcddb1
movzx edx, word [esp + 0x66]
test dx, dx
jne 0xbcdec1
cmp word [esp + 0x64], 0
jne 0xbce878
cmp word [esp + 0x62], 0
jne 0xbce885
cmp word [esp + 0x60], 0
jne 0xbce892
cmp word [esp + 0x5e], 0
jne 0xbce89f
cmp word [esp + 0x5c], 0
jne 0xbce8ac
cmp word [esp + 0x5a], 0
jne 0xbce8b9
cmp word [esp + 0x58], 0
jne 0xbce8d3
cmp word [esp + 0x56], 0
jne 0xbce8c6
cmp word [esp + 0x54], 0
jne 0xbce8fa
cmp word [esp + 0x52], 0
jne 0xbce8ed
cmp word [esp + 0x50], 0
jne 0xbce8e0
cmp word [esp + 0x4e], 0
jne 0xbce921
cmp word [esp + 0x4c], 0
jne 0xbce907
cmp word [esp + 0x4a], 0
jne 0xbce797
mov eax, dword [esp + 0xa8]
xor edx, edx
mov esi, dword [esp + 0xa8]
xor ecx, ecx
mov eax, dword [eax]
mov word [eax + 2], dx
lea edx, [eax + 8]
mov byte [eax], 0x40
mov byte [eax + 1], 1
mov dword [esi], edx
mov byte [eax + 4], 0x40
mov byte [eax + 5], 1
mov word [eax + 6], cx
mov eax, dword [esp + 0xac]
mov dword [eax], 1
xor eax, eax
add esp, 0x88
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 0x20], 0xf
lea esi, [esi]
mov eax, dword [esp + 0xac]
mov edi, dword [esp + 0x20]
mov eax, dword [eax]
mov dword [esp], edi
cmp edi, eax
jbe 0xbcdee7
mov dword [esp], eax
cmp word [esp + 0x4a], 0
jne 0xbce7b6
mov eax, dword [esp + 0x20]
cmp eax, 2
je 0xbce7dc
cmp word [esp + 0x4c], 0
jne 0xbce7dc
cmp eax, 3
je 0xbce844
cmp word [esp + 0x4e], 0
jne 0xbce844
cmp eax, 4
je 0xbce837
cmp word [esp + 0x50], 0
jne 0xbce837
cmp eax, 5
je 0xbce82a
cmp word [esp + 0x52], 0
jne 0xbce82a
cmp eax, 6
je 0xbce81d
cmp word [esp + 0x54], 0
jne 0xbce81d
cmp eax, 7
je 0xbce810
cmp word [esp + 0x56], 0
jne 0xbce810
cmp eax, 8
je 0xbce803
cmp word [esp + 0x58], 0
jne 0xbce803
cmp eax, 9
je 0xbce7f6
cmp word [esp + 0x5a], 0
jne 0xbce7f6
cmp eax, 0xa
je 0xbce7e9
cmp word [esp + 0x5c], 0
jne 0xbce7e9
cmp eax, 0xb
je 0xbce86b
cmp word [esp + 0x5e], 0
jne 0xbce86b
cmp eax, 0xc
je 0xbce85e
cmp word [esp + 0x60], 0
jne 0xbce85e
cmp eax, 0xd
je 0xbce851
cmp word [esp + 0x62], 0
jne 0xbce851
cmp eax, 0xf
jne 0xbce914
xor eax, eax
cmp word [esp + 0x64], 0
sete al
add eax, 0xe
mov dword [esp + 4], eax
movzx ecx, word [esp + 0x4a]
mov eax, 2
sub eax, ecx
mov edi, ecx
mov ecx, eax
lea eax, [ecx + ecx]
movzx ecx, word [esp + 0x4c]
sub eax, ecx
mov ebx, ecx
js 0xbce2aa
movzx ecx, word [esp + 0x4e]
add eax, eax
sub eax, ecx
mov word [esp + 8], cx
js 0xbce2aa
movzx ecx, word [esp + 0x50]
add eax, eax
sub eax, ecx
mov ebp, ecx
js 0xbce2aa
movzx ecx, word [esp + 0x52]
add eax, eax
sub eax, ecx
mov word [esp + 0x10], cx
js 0xbce2aa
movzx ecx, word [esp + 0x54]
add eax, eax
sub eax, ecx
mov word [esp + 0xc], cx
js 0xbce2aa
movzx ecx, word [esp + 0x56]
add eax, eax
sub eax, ecx
mov word [esp + 0x14], cx
js 0xbce2aa
movzx ecx, word [esp + 0x58]
add eax, eax
sub eax, ecx
mov word [esp + 0x24], cx
js 0xbce2aa
movzx ecx, word [esp + 0x5a]
add eax, eax
sub eax, ecx
mov word [esp + 0x1c], cx
js 0xbce2aa
movzx ecx, word [esp + 0x5c]
add eax, eax
sub eax, ecx
mov word [esp + 0x18], cx
js 0xbce2aa
movzx ecx, word [esp + 0x5e]
add eax, eax
sub eax, ecx
mov word [esp + 0x2c], cx
js 0xbce2aa
movzx ecx, word [esp + 0x60]
add eax, eax
sub eax, ecx
mov word [esp + 0x28], cx
js 0xbce2aa
movzx ecx, word [esp + 0x62]
add eax, eax
sub eax, ecx
mov word [esp + 0x34], cx
js 0xbce2aa
movzx ecx, word [esp + 0x64]
add eax, eax
sub eax, ecx
mov word [esp + 0x30], cx
js 0xbce2aa
add eax, eax
cmp eax, edx
js 0xbce2aa
je 0xbce143
mov eax, dword [esp + 0x9c]
test eax, eax
je 0xbce2aa
cmp dword [esp + 0x20], 1
jne 0xbce2aa
add ebx, edi
xor eax, eax
mov word [esp + 0x6c], di
mov word [esp + 0x6e], bx
add bx, word [esp + 8]
mov word [esp + 0x6a], ax
xor eax, eax
mov word [esp + 0x70], bx
add ebx, ebp
mov word [esp + 0x72], bx
add bx, word [esp + 0x10]
mov word [esp + 0x74], bx
add bx, word [esp + 0xc]
mov word [esp + 0x76], bx
add bx, word [esp + 0x14]
mov word [esp + 0x78], bx
add bx, word [esp + 0x24]
mov word [esp + 0x7a], bx
add bx, word [esp + 0x1c]
mov word [esp + 0x7c], bx
add bx, word [esp + 0x18]
mov word [esp + 0x7e], bx
add bx, word [esp + 0x2c]
mov word [esp + 0x80], bx
add bx, word [esp + 0x28]
mov word [esp + 0x82], bx
add bx, word [esp + 0x34]
mov word [esp + 0x84], bx
add bx, word [esp + 0x30]
test esi, esi
mov word [esp + 0x86], bx
je 0xbce211
mov ebx, dword [esp + 0xa0]
mov edi, dword [esp + 0xb0]
nop
lea esi, [esi]
movzx edx, word [ebx + eax*2]
test dx, dx
je 0xbce20a
movzx ecx, word [esp + edx*2 + 0x68]
lea ebp, [ecx + 1]
mov word [edi + ecx*2], ax
mov word [esp + edx*2 + 0x68], bp
add eax, 1
cmp esi, eax
jne 0xbce1f0
mov eax, dword [esp]
mov esi, dword [esp + 4]
cmp eax, esi
mov dword [esp + 0x24], eax
jae 0xbce224
mov dword [esp + 0x24], esi
mov ebx, dword [esp + 0x9c]
test ebx, ebx
je 0xbce2d4
cmp dword [esp + 0x9c], 1
je 0xbce2ba
mov dword [esp + 0x2c], 0
mov dword [esp + 0x40], 0xe1a7a0
mov dword [esp + 0x3c], 0xe1a7e0
mov eax, dword [esp + 0xa8]
movzx ecx, byte [esp + 0x24]
mov eax, dword [eax]
mov dword [esp + 0x38], eax
mov eax, 1
shl eax, cl
cmp dword [esp + 0x9c], 1
mov esi, eax
mov dword [esp + 0x28], eax
sete byte [esp + 0x46]
cmp esi, 0x354
movzx eax, byte [esp + 0x46]
jbe 0xbce724
test al, al
je 0xbce724
add esp, 0x88
mov eax, 1
pop ebx
pop esi
pop edi
pop ebp
ret
add esp, 0x88
mov eax, 0xffffffff
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 0x2c], 0x101
mov dword [esp + 0x40], 0xe1a820
mov dword [esp + 0x3c], 0xe1a860
jmp 0xbce255
mov eax, dword [esp + 0xa8]
movzx ecx, byte [esp + 0x24]
mov byte [esp + 0x46], 0
mov dword [esp + 0x2c], 0x14
mov byte [esp + 0x47], 0
mov eax, dword [eax]
mov dword [esp + 0x38], eax
mov eax, 1
shl eax, cl
mov dword [esp + 0x28], eax
sub eax, 1
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 0x40], eax
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0xb0]
mov ebp, dword [esp + 0x24]
xor edi, edi
mov dword [esp + 0x30], 0xffffffff
mov dword [esp + 8], 0
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x38]
mov dword [esp], ebp
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x10]
mov ebp, dword [esp + 0x2c]
xor edx, edx
movzx ebx, byte [esp + 4]
sub bl, byte [esp + 8]
movzx eax, word [eax]
lea ecx, [eax + 1]
mov esi, eax
cmp ecx, ebp
jb 0xbce37e
cmp eax, ebp
jb 0xbce710
mov esi, dword [esp + 0x40]
sub eax, ebp
movzx edx, byte [esi + eax*2]
mov esi, dword [esp + 0x3c]
movzx esi, word [esi + eax*2]
mov eax, dword [esp + 4]
sub eax, dword [esp + 8]
mov ebp, 1
mov dword [esp + 0x18], edi
mov ecx, eax
mov dword [esp + 0x14], eax
mov eax, 1
shl ebp, cl
movzx ecx, byte [esp]
shl eax, cl
movzx ecx, byte [esp + 0x14]
mov dword [esp + 0xc], eax
mov eax, 0xfffffffc
shl eax, cl
movzx ecx, byte [esp + 8]
mov dword [esp + 0x14], eax
mov eax, edi
mov edi, ebp
shr eax, cl
mov ecx, dword [esp + 0xc]
add ecx, eax
mov eax, dword [esp + 0x1c]
sub ecx, ebp
mov ebp, dword [esp + 0x14]
lea ecx, [eax + ecx*4]
mov eax, dword [esp + 0xc]
nop
lea esi, [esi]
mov byte [ecx], dl
mov byte [ecx + 1], bl
mov word [ecx + 2], si
add ecx, ebp
sub eax, edi
jne 0xbce3e0
mov eax, dword [esp + 4]
mov edi, dword [esp + 0x18]
lea ecx, [eax - 1]
mov eax, 1
shl eax, cl
test edi, eax
je 0xbce419
mov ebp, dword [esp]
nop
lea esi, [esi]
shr eax, 1
test edi, eax
jne 0xbce410
mov dword [esp], ebp
test eax, eax
je 0xbce424
lea edx, [eax - 1]
and edx, edi
add eax, edx
mov esi, dword [esp + 4]
movzx edi, word [esp + esi*2 + 0x48]
lea edx, [edi - 1]
mov word [esp + 0xc], di
test dx, dx
mov word [esp + esi*2 + 0x48], dx
jne 0xbce462
mov edi, dword [esp + 0x20]
cmp esi, edi
je 0xbce758
mov esi, dword [esp + 0x10]
movzx edx, word [esi + 2]
mov esi, dword [esp + 0xa0]
movzx esi, word [esi + edx*2]
mov dword [esp + 4], esi
mov edi, dword [esp + 0x24]
cmp dword [esp + 4], edi
jbe 0xbce6fb
mov esi, dword [esp + 0x34]
and esi, eax
cmp dword [esp + 0x30], esi
je 0xbce6fb
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0xbce48c
mov dword [esp + 8], edi
movzx ecx, byte [esp]
mov ebp, dword [esp + 4]
mov edx, 4
mov edi, dword [esp + 8]
mov ebx, dword [esp + 0x20]
shl edx, cl
mov ecx, ebp
add dword [esp + 0x1c], edx
sub ecx, edi
mov edx, 1
shl edx, cl
cmp ebp, ebx
jae 0xbce71c
movzx ebx, word [esp + ebp*2 + 0x48]
sub edx, ebx
test edx, edx
jle 0xbce71c
lea ebx, [ecx + 1]
mov ebp, dword [esp + 0x20]
add edx, edx
mov dword [esp], ebx
add ebx, edi
cmp ebp, ebx
jbe 0xbce69a
movzx ebx, word [esp + ebx*2 + 0x48]
sub edx, ebx
test edx, edx
jle 0xbce69a
lea ebx, [ecx + 2]
add edx, edx
mov dword [esp], ebx
add ebx, edi
cmp ebp, ebx
jbe 0xbce69a
movzx ebx, word [esp + ebx*2 + 0x48]
sub edx, ebx
test edx, edx
jle 0xbce69a
lea ebx, [ecx + 3]
add edx, edx
mov dword [esp], ebx
add ebx, edi
cmp ebp, ebx
jbe 0xbce69a
movzx ebx, word [esp + ebx*2 + 0x48]
sub edx, ebx
test edx, edx
jle 0xbce69a
lea ebx, [ecx + 4]
add edx, edx
mov dword [esp], ebx
add ebx, edi
cmp ebp, ebx
jbe 0xbce69a
movzx ebx, word [esp + ebx*2 + 0x48]
sub edx, ebx
test edx, edx
jle 0xbce69a
lea ebx, [ecx + 5]
add edx, edx
mov dword [esp], ebx
add ebx, edi
cmp ebp, ebx
jbe 0xbce69a
movzx ebx, word [esp + ebx*2 + 0x48]
sub edx, ebx
test edx, edx
jle 0xbce69a
lea ebx, [ecx + 6]
add edx, edx
mov dword [esp], ebx
add ebx, edi
cmp ebp, ebx
jbe 0xbce69a
movzx ebx, word [esp + ebx*2 + 0x48]
sub edx, ebx
test edx, edx
jle 0xbce69a
lea ebx, [ecx + 7]
add edx, edx
mov dword [esp], ebx
add ebx, edi
cmp ebp, ebx
jbe 0xbce69a
movzx ebx, word [esp + ebx*2 + 0x48]
sub edx, ebx
test edx, edx
jle 0xbce69a
lea ebx, [ecx + 8]
add edx, edx
mov dword [esp], ebx
add ebx, edi
cmp ebp, ebx
jbe 0xbce69a
movzx ebx, word [esp + ebx*2 + 0x48]
sub edx, ebx
test edx, edx
jle 0xbce69a
lea ebx, [ecx + 9]
add edx, edx
mov dword [esp], ebx
add ebx, edi
cmp ebp, ebx
jbe 0xbce69a
movzx ebx, word [esp + ebx*2 + 0x48]
sub edx, ebx
test edx, edx
jle 0xbce69a
lea ebx, [ecx + 0xa]
add edx, edx
mov dword [esp], ebx
add ebx, edi
cmp ebp, ebx
jbe 0xbce69a
movzx ebx, word [esp + ebx*2 + 0x48]
sub edx, ebx
test edx, edx
jle 0xbce69a
lea ebx, [ecx + 0xb]
add edx, edx
mov dword [esp], ebx
add ebx, edi
cmp ebp, ebx
jbe 0xbce69a
movzx ebx, word [esp + ebx*2 + 0x48]
sub edx, ebx
test edx, edx
jle 0xbce69a
lea ebx, [ecx + 0xc]
add edx, edx
mov dword [esp], ebx
add ebx, edi
cmp ebp, ebx
jbe 0xbce69a
movzx ebx, word [esp + ebx*2 + 0x48]
sub edx, ebx
test edx, edx
jle 0xbce69a
lea ebx, [ecx + 0xd]
add edx, edx
mov dword [esp], ebx
add ebx, edi
cmp ebp, ebx
jbe 0xbce69a
movzx ebx, word [esp + ebx*2 + 0x48]
sub edx, ebx
test edx, edx
jle 0xbce69a
lea ebx, [ecx + 0xe]
add edx, edx
mov dword [esp], ebx
add ebx, edi
cmp ebp, ebx
jbe 0xbce69a
movzx ebx, word [esp + ebx*2 + 0x48]
sub edx, ebx
test edx, edx
jle 0xbce69a
lea ebx, [ecx + 0xf]
add edx, edx
mov dword [esp], ebx
add ebx, edi
cmp ebp, ebx
jbe 0xbce69a
movzx ebx, word [esp + ebx*2 + 0x48]
sub edx, ebx
test edx, edx
jle 0xbce69a
lea edx, [ecx + 0x10]
mov dword [esp], edx
movzx ecx, byte [esp]
mov edx, 1
shl edx, cl
add dword [esp + 0x28], edx
mov ebx, dword [esp + 0x28]
cmp ebx, 0x354
jbe 0xbce6c0
cmp byte [esp + 0x46], 0
jne 0xbce29a
cmp dword [esp + 0x28], 0x250
jbe 0xbce6d5
cmp byte [esp + 0x47], 0
jne 0xbce29a
mov edi, dword [esp + 0x38]
movzx ebx, byte [esp]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x30], esi
lea edx, [edi + esi*4]
sub ecx, edi
mov byte [edx], bl
movzx ebx, byte [esp + 0x24]
sar ecx, 2
mov word [edx + 2], cx
mov byte [edx + 1], bl
add dword [esp + 0x10], 2
mov edi, eax
jmp 0xbce345
xor esi, esi
mov edx, 0x60
jmp 0xbce37e
mov dword [esp], ecx
jmp 0xbce69a
mov eax, esi
sub eax, 1
cmp dword [esp + 0x9c], 2
mov dword [esp + 0x34], eax
sete byte [esp + 0x47]
cmp esi, 0x250
movzx eax, byte [esp + 0x47]
jbe 0xbce319
test al, al
jne 0xbce29a
jmp 0xbce319
test eax, eax
je 0xbce76f
mov esi, dword [esp + 0x1c]
xor edx, edx
lea eax, [esi + eax*4]
mov byte [eax], 0x40
mov byte [eax + 1], bl
mov word [eax + 2], dx
mov esi, dword [esp + 0x28]
mov eax, dword [esp + 0x38]
lea eax, [eax + esi*4]
mov esi, dword [esp + 0xa8]
mov dword [esi], eax
mov eax, dword [esp + 0xac]
mov esi, dword [esp + 0x24]
mov dword [eax], esi
xor eax, eax
jmp 0xbcdeb6
mov eax, dword [esp + 0xac]
mov eax, dword [eax]
test eax, eax
mov dword [esp], eax
je 0xbce7ae
mov dword [esp], 1
mov dword [esp + 0x20], 1
movzx ebx, word [esp + 0x4a]
mov ecx, 2
mov eax, 0xffffffff
sub ecx, ebx
mov edi, ebx
js 0xbcdeb6
mov dword [esp + 4], 1
jmp 0xbce01e
mov dword [esp + 4], 2
jmp 0xbce00e
mov dword [esp + 4], 0xa
jmp 0xbce00e
mov dword [esp + 4], 9
jmp 0xbce00e
mov dword [esp + 4], 8
jmp 0xbce00e
mov dword [esp + 4], 7
jmp 0xbce00e
mov dword [esp + 4], 6
jmp 0xbce00e
mov dword [esp + 4], 5
jmp 0xbce00e
mov dword [esp + 4], 4
jmp 0xbce00e
mov dword [esp + 4], 3
jmp 0xbce00e
mov dword [esp + 4], 0xd
jmp 0xbce00e
mov dword [esp + 4], 0xc
jmp 0xbce00e
mov dword [esp + 4], 0xb
jmp 0xbce00e
mov dword [esp + 0x20], 0xe
jmp 0xbcded0
mov dword [esp + 0x20], 0xd
jmp 0xbcded0
mov dword [esp + 0x20], 0xc
jmp 0xbcded0
mov dword [esp + 0x20], 0xb
jmp 0xbcded0
mov dword [esp + 0x20], 0xa
jmp 0xbcded0
mov dword [esp + 0x20], 9
jmp 0xbcded0
mov dword [esp + 0x20], 7
jmp 0xbcded0
mov dword [esp + 0x20], 8
jmp 0xbcded0
mov dword [esp + 0x20], 4
jmp 0xbcded0
mov dword [esp + 0x20], 5
jmp 0xbcded0
mov dword [esp + 0x20], 6
jmp 0xbcded0
mov dword [esp + 0x20], 2
jmp 0xbcded0
mov dword [esp + 4], 0xe
jmp 0xbce00e
mov dword [esp + 0x20], 3
jmp 0xbcded0