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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x4c
mov esi, dword [esp + 0x70]
mov ebp, dword [esp + 0x68]
mov eax, dword [esp + 0x60]
mov edx, dword [esp + 0x6c]
mov ecx, dword [esi + 4]
mov ebx, dword [esi + 8]
mov dword [esp + 0x48], ecx
test ebp, ebp
je 0x4b2a23
mov ecx, dword [edx + 4]
mov edi, dword [edx + 0x20]
add eax, ecx
mov dword [esp + 0x10], edi
mov edi, dword [edx + 0x1c]
mov dword [esp + 0x3c], eax
sub eax, edi
mov ecx, dword [edx + 8]
cmp dword [esp + 0x48], eax
jle 0x4b2a1b
mov eax, dword [esp + 0x3c]
test eax, eax
jg 0x4b2a4d
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov ecx, dword [edx + 4]
mov edi, dword [edx + 0x20]
sub eax, ecx
mov dword [esp + 0x10], edi
mov dword [esp + 0x3c], eax
mov ecx, dword [edx + 8]
mov edi, dword [esp + 0x3c]
mov eax, dword [edx + 0x1c]
cmp dword [esp + 0x48], edi
jle 0x4b2a1b
mov edi, dword [esp + 0x3c]
add eax, edi
test eax, eax
jle 0x4b2a1b
mov eax, dword [esp + 0x64]
sub eax, ecx
cmp ebx, eax
jle 0x4b2a1b
mov edi, dword [esp + 0x10]
lea ecx, [eax + edi]
test ecx, ecx
jle 0x4b2a1b
lea edi, [edx + 0x30]
test eax, eax
js 0x4b2eb5
mov edx, dword [esp + 0x48]
imul edx, eax
cmp ebx, ecx
jge 0x4b2a7e
sub ebx, eax
mov dword [esp + 0x10], ebx
lea edx, [edx + esi + 0x14]
mov ecx, dword [esp + 0x78]
test ecx, ecx
mov dword [esp + 0x14], edx
setne al
mov edx, dword [esp + 0x74]
test edx, edx
setne dl
test al, al
je 0x4b2bad
test dl, dl
jne 0x4b2c58
test ebp, ebp
jne 0x4b3094
mov ebp, dword [esp + 0x10]
mov dword [esp + 0x24], edi
test ebp, ebp
jle 0x4b2a1b
mov edi, dword [esp + 0x24]
mov ebp, dword [esp + 0x3c]
cmp dword [esp + 0x48], ebp
mov eax, dword [edi]
jle 0x4b2b85
lea edx, [eax + edi]
mov al, byte [edx]
cmp al, 0xff
je 0x4b2b85
and eax, 0xff
lea edi, [eax + ebp]
cmp dword [esp + 0x48], edi
jle 0x4b2b85
inc edx
mov al, byte [edx]
inc edx
mov dword [esp + 0x34], edx
test al, al
je 0x4b2b64
and eax, 0xff
mov ebp, eax
lea eax, [eax + edi]
test eax, eax
jle 0x4b3074
test edi, edi
js 0x4b3081
cmp dword [esp + 0x48], eax
jge 0x4b2b25
mov ebp, dword [esp + 0x48]
sub ebp, edi
test ebp, ebp
jle 0x4b2b64
mov ebx, dword [esp + 0x14]
mov esi, dword [esp + 0x34]
lea ecx, [edi + ebx]
mov ebx, ebp
xor eax, eax
xor edx, edx
mov al, byte [esi]
mov dl, byte [ecx]
shl eax, 8
inc esi
or eax, edx
mov edx, dword [esp + 0x78]
mov al, byte [edx + eax]
mov byte [ecx], al
inc ecx
dec ebx
jne 0x4b2b36
lea eax, [ebp - 1]
mov ecx, dword [esp + 0x34]
lea edi, [edi + eax + 1]
lea eax, [ecx + eax + 1]
mov dword [esp + 0x34], eax
cmp dword [esp + 0x48], edi
jle 0x4b2b85
mov edx, dword [esp + 0x34]
mov al, byte [edx]
cmp al, 0xff
je 0x4b2b85
and eax, 0xff
add edi, eax
cmp dword [esp + 0x48], edi
jg 0x4b2af3
mov edi, dword [esp + 0x24]
add edi, 4
dec dword [esp + 0x10]
mov dword [esp + 0x24], edi
je 0x4b2a1b
mov esi, dword [esp + 0x14]
mov ebx, dword [esp + 0x48]
add esi, ebx
mov dword [esp + 0x14], esi
jmp 0x4b2ac0
test dl, dl
je 0x4b2ec7
test ebp, ebp
je 0x4b31b4
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x28], edi
test ebx, ebx
jle 0x4b2a1b
mov edi, dword [esp + 0x28]
mov edx, dword [esp + 0x3c]
test edx, edx
mov eax, dword [edi]
jle 0x4b3014
lea edx, [eax + edi]
mov al, byte [edx]
cmp al, 0xff
je 0x4b3014
and eax, 0xff
mov esi, dword [esp + 0x3c]
sub esi, eax
lea eax, [edx + 1]
test esi, esi
jg 0x4b2c4b
jmp 0x4b3014
and edx, 0xff
mov dword [esp + 0xc], edx
mov edx, esi
mov ebp, dword [esp + 0xc]
sub edx, ebp
cmp dword [esp + 0x48], edx
jg 0x4b2fa4
mov ebx, dword [esp + 0xc]
add edi, ebx
test edx, edx
jle 0x4b3014
mov al, byte [edi]
cmp al, 0xff
je 0x4b3014
and eax, 0xff
mov esi, edx
sub esi, eax
test esi, esi
jle 0x4b3014
lea eax, [edi + 1]
mov dl, byte [eax]
lea edi, [eax + 1]
test dl, dl
jne 0x4b2c03
mov edx, esi
jmp 0x4b2c25
test ebp, ebp
je 0x4b2d90
mov eax, dword [esp + 0x10]
mov dword [esp + 0x18], edi
test eax, eax
jle 0x4b2a1b
mov ebp, dword [esp + 0x18]
mov edi, dword [esp + 0x3c]
test edi, edi
mov eax, dword [ebp]
jle 0x4b2ce8
lea edx, [eax + ebp]
mov al, byte [edx]
cmp al, 0xff
je 0x4b2ce8
and eax, 0xff
mov edi, dword [esp + 0x3c]
sub edi, eax
lea eax, [edx + 1]
test edi, edi
jg 0x4b2cd9
jmp 0x4b2ce8
and edx, 0xff
mov dword [esp + 0x40], edx
mov edx, edi
mov esi, dword [esp + 0x40]
sub edx, esi
cmp dword [esp + 0x48], edx
jg 0x4b2d10
mov ebx, dword [esp + 0x40]
add ebp, ebx
test edx, edx
jle 0x4b2ce8
mov al, byte [ebp]
cmp al, 0xff
je 0x4b2ce8
and eax, 0xff
mov edi, edx
sub edi, eax
test edi, edi
jle 0x4b2ce8
lea eax, [ebp + 1]
mov dl, byte [eax]
lea ebp, [eax + 1]
test dl, dl
jne 0x4b2ca0
mov edx, edi
test edx, edx
jg 0x4b2cc2
mov ebx, dword [esp + 0x18]
add ebx, 4
dec dword [esp + 0x10]
mov dword [esp + 0x18], ebx
je 0x4b2a1b
mov ecx, dword [esp + 0x14]
mov ebx, dword [esp + 0x48]
add ecx, ebx
mov dword [esp + 0x14], ecx
jmp 0x4b2c70
cmp dword [esp + 0x48], edi
jge 0x4b2d38
mov eax, edi
mov ecx, dword [esp + 0x48]
sub eax, ecx
mov edx, dword [esp + 0x40]
sub edx, eax
add ebp, eax
mov dword [esp + 0x40], edx
mov edx, dword [esp + 0x48]
mov edi, dword [esp + 0x40]
sub edx, edi
mov edi, dword [esp + 0x48]
test edx, edx
js 0x4b2d8a
mov esi, dword [esp + 0x40]
test esi, esi
jle 0x4b2ce2
mov eax, dword [esp + 0x14]
mov esi, ebp
mov ebx, dword [esp + 0x40]
lea ecx, [edi + eax]
xor eax, eax
mov edx, dword [esp + 0x74]
mov al, byte [esi]
inc esi
mov al, byte [edx + eax]
xor edx, edx
and eax, 0xff
mov dl, byte [ecx - 1]
shl eax, 8
or eax, edx
mov edx, dword [esp + 0x78]
mov al, byte [edx + eax]
mov byte [ecx - 1], al
dec ecx
dec ebx
jne 0x4b2d51
mov ecx, dword [esp + 0x40]
mov edx, edi
sub edx, ecx
lea ebp, [ecx + ebp]
jmp 0x4b2cbe
mov dword [esp + 0x40], edi
jmp 0x4b2d3c
mov ebp, dword [esp + 0x10]
mov dword [esp + 0x1c], edi
test ebp, ebp
jle 0x4b2a1b
mov edi, dword [esp + 0x1c]
mov ebp, dword [esp + 0x3c]
cmp dword [esp + 0x48], ebp
mov eax, dword [edi]
jle 0x4b2e76
mov edx, edi
add edx, eax
mov al, byte [edx]
cmp al, 0xff
je 0x4b2e76
and eax, 0xff
lea edi, [eax + ebp]
cmp dword [esp + 0x48], edi
jle 0x4b2e76
inc edx
mov al, byte [edx]
lea ebp, [edx + 1]
test al, al
je 0x4b2e54
and eax, 0xff
mov dword [esp + 0x38], eax
add eax, edi
test eax, eax
jle 0x4b2e9e
test edi, edi
js 0x4b2ea8
cmp dword [esp + 0x48], eax
jge 0x4b2e09
mov eax, dword [esp + 0x48]
sub eax, edi
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x38]
test eax, eax
jle 0x4b2e54
mov edx, dword [esp + 0x14]
mov esi, ebp
mov ebx, dword [esp + 0x38]
lea ecx, [edi + edx]
nop
xor eax, eax
mov edx, dword [esp + 0x74]
mov al, byte [esi]
inc esi
mov al, byte [edx + eax]
xor edx, edx
and eax, 0xff
mov dl, byte [ecx]
shl eax, 8
or eax, edx
mov edx, dword [esp + 0x78]
mov al, byte [edx + eax]
mov byte [ecx], al
inc ecx
dec ebx
jne 0x4b2e20
mov eax, dword [esp + 0x38]
dec eax
lea edi, [edi + eax + 1]
lea ebp, [ebp + eax + 1]
cmp dword [esp + 0x48], edi
jle 0x4b2e76
mov al, byte [ebp]
cmp al, 0xff
je 0x4b2e76
and eax, 0xff
add edi, eax
cmp dword [esp + 0x48], edi
jle 0x4b2e76
lea edx, [ebp + 1]
jmp 0x4b2dd5
mov eax, dword [esp + 0x1c]
add eax, 4
dec dword [esp + 0x10]
mov dword [esp + 0x1c], eax
je 0x4b2a1b
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x48]
add eax, ecx
mov dword [esp + 0x14], eax
jmp 0x4b2da0
mov edx, dword [esp + 0x38]
mov edi, eax
add ebp, edx
jmp 0x4b2e54
sub ebp, edi
xor edi, edi
mov dword [esp + 0x38], eax
jmp 0x4b2df9
shl eax, 2
xor edx, edx
sub edi, eax
xor eax, eax
mov dword [esp + 0x10], ecx
jmp 0x4b2a74
test ebp, ebp
je 0x4b32c1
mov eax, dword [esp + 0x10]
mov dword [esp + 0x30], edi
test eax, eax
jle 0x4b2a1b
mov edx, dword [esp + 0x30]
mov edi, dword [esp + 0x3c]
test edi, edi
mov eax, dword [edx]
jle 0x4b303c
lea edx, [eax + edx]
mov al, byte [edx]
cmp al, 0xff
je 0x4b303c
and eax, 0xff
mov esi, dword [esp + 0x3c]
sub esi, eax
lea eax, [edx + 1]
test esi, esi
jg 0x4b2f4f
jmp 0x4b303c
and edx, 0xff
mov ebp, edx
mov edx, esi
sub edx, ebp
cmp dword [esp + 0x48], edx
jg 0x4b2f5c
add edi, ebp
test edx, edx
jle 0x4b303c
mov al, byte [edi]
cmp al, 0xff
je 0x4b303c
and eax, 0xff
mov esi, edx
sub esi, eax
test esi, esi
jle 0x4b303c
lea eax, [edi + 1]
mov dl, byte [eax]
lea edi, [eax + 1]
test dl, dl
jne 0x4b2f15
mov edx, esi
jmp 0x4b2f29
cmp dword [esp + 0x48], esi
jge 0x4b2f78
mov eax, esi
mov esi, dword [esp + 0x48]
sub eax, esi
mov edx, dword [esp + 0x48]
sub ebp, eax
add edi, eax
sub edx, ebp
mov esi, dword [esp + 0x48]
test edx, edx
js 0x4b306d
test ebp, ebp
jle 0x4b2f58
mov ecx, dword [esp + 0x14]
mov edx, ebp
lea ebx, [esi + ecx]
mov ecx, edi
nop
mov al, byte [ecx]
inc ecx
mov byte [ebx - 1], al
dec ebx
dec edx
jne 0x4b2f90
mov edx, esi
lea edi, [ebp + edi]
sub edx, ebp
jmp 0x4b2f29
cmp dword [esp + 0x48], esi
jge 0x4b2fcc
mov eax, esi
mov ecx, dword [esp + 0x48]
sub eax, ecx
mov edx, dword [esp + 0xc]
sub edx, eax
add edi, eax
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0xc]
mov esi, dword [esp + 0x48]
sub edx, eax
test edx, edx
js 0x4b3064
mov ebp, dword [esp + 0xc]
test ebp, ebp
jle 0x4b2c54
mov ebp, dword [esp + 0x14]
mov ecx, edi
mov edx, dword [esp + 0xc]
lea ebx, [esi + ebp]
lea esi, [esi]
xor eax, eax
mov ebp, dword [esp + 0x74]
mov al, byte [ecx]
inc ecx
mov al, byte [ebp + eax]
mov byte [ebx - 1], al
dec ebx
dec edx
jne 0x4b2ff0
mov eax, dword [esp + 0xc]
mov edx, esi
sub edx, eax
lea edi, [eax + edi]
jmp 0x4b2c25
mov ebx, dword [esp + 0x28]
add ebx, 4
dec dword [esp + 0x10]
mov dword [esp + 0x28], ebx
je 0x4b2a1b
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x48]
add ecx, edx
mov dword [esp + 0x14], ecx
jmp 0x4b2bcd
mov ebx, dword [esp + 0x30]
add ebx, 4
dec dword [esp + 0x10]
mov dword [esp + 0x30], ebx
je 0x4b2a1b
mov ecx, dword [esp + 0x14]
mov ebx, dword [esp + 0x48]
add ecx, ebx
mov dword [esp + 0x14], ecx
jmp 0x4b2edf
mov dword [esp + 0xc], esi
jmp 0x4b2fd4
mov ebp, esi
jmp 0x4b2f80
add edx, ebp
mov edi, eax
mov dword [esp + 0x34], edx
jmp 0x4b2b64
mov ebp, dword [esp + 0x34]
sub ebp, edi
xor edi, edi
mov dword [esp + 0x34], ebp
mov ebp, eax
jmp 0x4b2b19
mov eax, dword [esp + 0x10]
mov dword [esp + 0x20], edi
test eax, eax
jle 0x4b2a1b
mov ebx, dword [esp + 0x20]
mov edi, dword [esp + 0x3c]
test edi, edi
mov eax, dword [ebx]
jle 0x4b3118
lea edx, [eax + ebx]
mov al, byte [edx]
cmp al, 0xff
je 0x4b3118
and eax, 0xff
mov edi, dword [esp + 0x3c]
sub edi, eax
lea eax, [edx + 1]
test edi, edi
jg 0x4b3109
jmp 0x4b3118
and edx, 0xff
mov dword [esp + 0x44], edx
mov edx, edi
mov esi, dword [esp + 0x44]
sub edx, esi
cmp dword [esp + 0x48], edx
jg 0x4b3140
mov ebx, dword [esp + 0x44]
add ebp, ebx
test edx, edx
jle 0x4b3118
mov al, byte [ebp]
cmp al, 0xff
je 0x4b3118
and eax, 0xff
mov edi, edx
sub edi, eax
test edi, edi
jle 0x4b3118
lea eax, [ebp + 1]
mov dl, byte [eax]
lea ebp, [eax + 1]
test dl, dl
jne 0x4b30d0
mov edx, edi
test edx, edx
jg 0x4b30f2
mov eax, dword [esp + 0x20]
add eax, 4
dec dword [esp + 0x10]
mov dword [esp + 0x20], eax
je 0x4b2a1b
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x48]
add eax, ebx
mov dword [esp + 0x14], eax
jmp 0x4b30a4
cmp dword [esp + 0x48], edi
jge 0x4b3168
mov eax, edi
mov ecx, dword [esp + 0x48]
sub eax, ecx
mov edx, dword [esp + 0x44]
sub edx, eax
add ebp, eax
mov dword [esp + 0x44], edx
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x44]
mov edi, dword [esp + 0x48]
sub edx, eax
test edx, edx
js 0x4b31ae
mov eax, dword [esp + 0x44]
test eax, eax
jle 0x4b3112
mov eax, dword [esp + 0x14]
mov esi, ebp
mov ebx, dword [esp + 0x44]
lea ecx, [edi + eax]
xor eax, eax
xor edx, edx
mov al, byte [esi]
mov dl, byte [ecx - 1]
shl eax, 8
inc esi
or eax, edx
mov edx, dword [esp + 0x78]
mov al, byte [edx + eax]
mov byte [ecx - 1], al
dec ecx
dec ebx
jne 0x4b3181
mov ecx, dword [esp + 0x44]
mov edx, edi
sub edx, ecx
lea ebp, [ecx + ebp]
jmp 0x4b30ee
mov dword [esp + 0x44], edi
jmp 0x4b316c
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x2c], edi
test ecx, ecx
jle 0x4b2a1b
mov ecx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x3c]
cmp dword [esp + 0x48], ebx
mov eax, dword [ecx]
jle 0x4b3282
lea edx, [eax + ecx]
mov al, byte [edx]
cmp al, 0xff
je 0x4b3282
and eax, 0xff
lea esi, [eax + ebx]
cmp dword [esp + 0x48], esi
jle 0x4b3282
inc edx
mov al, byte [edx]
lea ebp, [edx + 1]
test al, al
je 0x4b3260
and eax, 0xff
mov dword [esp + 8], eax
add eax, esi
test eax, eax
jle 0x4b32aa
test esi, esi
js 0x4b32b4
cmp dword [esp + 0x48], eax
jge 0x4b322c
mov edi, dword [esp + 0x48]
sub edi, esi
mov dword [esp + 8], edi
mov eax, dword [esp + 8]
test eax, eax
jle 0x4b3260
mov eax, dword [esp + 0x14]
mov ecx, ebp
mov edx, dword [esp + 8]
lea ebx, [esi + eax]
xor eax, eax
mov edi, dword [esp + 0x74]
mov al, byte [ecx]
inc ecx
mov al, byte [edi + eax]
mov byte [ebx], al
inc ebx
dec edx
jne 0x4b3241
mov eax, dword [esp + 8]
dec eax
lea ebp, [ebp + eax + 1]
lea esi, [esi + eax + 1]
cmp dword [esp + 0x48], esi
jle 0x4b3282
mov al, byte [ebp]
cmp al, 0xff
je 0x4b3282
and eax, 0xff
add esi, eax
cmp dword [esp + 0x48], esi
jle 0x4b3282
lea edx, [ebp + 1]
jmp 0x4b31f8
mov eax, dword [esp + 0x2c]
add eax, 4
dec dword [esp + 0x10]
mov dword [esp + 0x2c], eax
je 0x4b2a1b
mov eax, dword [esp + 0x14]
mov ebp, dword [esp + 0x48]
add eax, ebp
mov dword [esp + 0x14], eax
jmp 0x4b31c4
mov edx, dword [esp + 8]
mov esi, eax
add ebp, edx
jmp 0x4b3260
sub ebp, esi
xor esi, esi
mov dword [esp + 8], eax
jmp 0x4b321c
mov eax, dword [esp + 0x10]
mov ebp, edi
test eax, eax
jle 0x4b2a1b
mov edi, dword [esp + 0x3c]
mov eax, dword [ebp]
cmp dword [esp + 0x48], edi
jle 0x4b3361
lea ecx, [eax + ebp]
mov al, byte [ecx]
cmp al, 0xff
je 0x4b3361
and eax, 0xff
lea edx, [eax + edi]
lea eax, [ecx + 1]
cmp dword [esp + 0x48], edx
jg 0x4b3347
jmp 0x4b3361
mov eax, edx
test edx, edx
js 0x4b3381
cmp dword [esp + 0x48], edi
jge 0x4b3315
mov ebx, dword [esp + 0x48]
sub ebx, edx
lea edi, [ebx + edx]
mov edx, dword [esp + 0x14]
push ecx
add eax, edx
push ebx
push esi
push eax
add esi, ebx
call sub.msvcrt.dll_memcpy
mov edx, edi
add esp, 0x10
cmp dword [esp + 0x48], edx
jle 0x4b3361
mov al, byte [esi]
cmp al, 0xff
je 0x4b3361
and eax, 0xff
add edx, eax
cmp dword [esp + 0x48], edx
jle 0x4b3361
lea eax, [esi + 1]
mov cl, byte [eax]
lea esi, [eax + 1]
test cl, cl
je 0x4b332b
xor ebx, ebx
mov bl, cl
lea edi, [ebx + edx]
test edi, edi
jg 0x4b3300
add esi, ebx
mov edx, edi
jmp 0x4b332b
add ebp, 4
dec dword [esp + 0x10]
je 0x4b2a1b
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x48]
add edx, eax
mov dword [esp + 0x14], edx
jmp 0x4b32cf
sub esi, edx
mov ebx, edi
xor edx, edx
xor eax, eax
jmp 0x4b3306